Class QueueDispatchSelector

  • All Implemented Interfaces:
    DispatchSelector

    public class QueueDispatchSelector
    extends SimpleDispatchSelector
    Queue dispatch policy that determines if a message can be sent to a subscription
    • Constructor Detail

      • QueueDispatchSelector

        public QueueDispatchSelector​(ActiveMQDestination destination)
        Parameters:
        destination -
    • Method Detail

      • getExclusiveConsumer

        public Subscription getExclusiveConsumer()
      • setExclusiveConsumer

        public void setExclusiveConsumer​(Subscription exclusiveConsumer)
      • isExclusiveConsumer

        public boolean isExclusiveConsumer​(Subscription s)
      • pause

        public void pause()
      • resume

        public void resume()
      • isPaused

        public boolean isPaused()