Class QueueDispatchSelector

java.lang.Object
org.apache.activemq.broker.region.policy.SimpleDispatchSelector
org.apache.activemq.broker.region.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 Details

    • QueueDispatchSelector

      public QueueDispatchSelector(org.apache.activemq.command.ActiveMQDestination destination)
      Parameters:
      destination -
  • Method Details

    • getExclusiveConsumer

      public Subscription getExclusiveConsumer()
    • setExclusiveConsumer

      public void setExclusiveConsumer(Subscription exclusiveConsumer)
    • isExclusiveConsumer

      public boolean isExclusiveConsumer(Subscription s)
    • canSelect

      public boolean canSelect(Subscription subscription, org.apache.activemq.broker.region.MessageReference m) throws Exception
      Throws:
      Exception
    • pause

      public void pause()
    • resume

      public void resume()
    • isPaused

      public boolean isPaused()