|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.broker.region.policy.SimpleDispatchSelector
org.apache.activemq.broker.region.QueueDispatchSelector
public class QueueDispatchSelector
Queue dispatch policy that determines if a message can be sent to a subscription
Constructor Summary | |
---|---|
QueueDispatchSelector(ActiveMQDestination destination)
|
Method Summary | |
---|---|
boolean |
canSelect(Subscription subscription,
MessageReference m)
|
Subscription |
getExclusiveConsumer()
|
boolean |
isExclusiveConsumer(Subscription s)
|
void |
setExclusiveConsumer(Subscription exclusiveConsumer)
|
Methods inherited from class org.apache.activemq.broker.region.policy.SimpleDispatchSelector |
---|
canDispatch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueueDispatchSelector(ActiveMQDestination destination)
destination
- Method Detail |
---|
public Subscription getExclusiveConsumer()
public void setExclusiveConsumer(Subscription exclusiveConsumer)
public boolean isExclusiveConsumer(Subscription s)
public boolean canSelect(Subscription subscription, MessageReference m) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |