Interface MQSubscriber

All Known Implementing Classes:
AbstractSubscriber, PollingSubscriber, PrefetchSubscriber

public interface MQSubscriber
A subscriber API to consume messages from a given destination using a given retrieval strategy. Subscribers must be listening for new messages after they are started and cease to retrieve messages once they are stopped.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Begin the retrieval of messages from a destination
    void
    Stop the retrieval of messages from a destination
  • Method Details

    • start

      void start()
      Begin the retrieval of messages from a destination
    • stop

      void stop()
      Stop the retrieval of messages from a destination