Class ConsumerEventSource

    • Method Detail

      • setConsumerListener

        public void setConsumerListener​(ConsumerListener listener)
      • getConsumerId

        public String getConsumerId()
      • extractConsumerCountFromMessage

        protected int extractConsumerCountFromMessage​(Message message,
                                                      int count)
        Lets rely by default on the broker telling us what the consumer count is as it can ensure that we are up to date at all times and have not received messages out of order etc.
      • fireConsumerEvent

        protected void fireConsumerEvent​(ConsumerEvent event)