Class CustomBindingSubscriber


  • @PubSubListener
    public class CustomBindingSubscriber
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onMessage​(Animal animal, java.lang.Long publishTime)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CustomBindingSubscriber

        public CustomBindingSubscriber()
    • Method Detail

      • onMessage

        public void onMessage​(Animal animal,
                              @MessagePublishTime
                              java.lang.Long publishTime)
        Parameters:
        animal - payload
        publishTime - message publish time