public class QueueDispatchSelector extends SimpleDispatchSelector
| Constructor and Description |
|---|
QueueDispatchSelector(ActiveMQDestination destination) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSelect(Subscription subscription,
MessageReference m) |
Subscription |
getExclusiveConsumer() |
boolean |
isExclusiveConsumer(Subscription s) |
boolean |
isPaused() |
void |
pause() |
void |
resume() |
void |
setExclusiveConsumer(Subscription exclusiveConsumer) |
canDispatchpublic QueueDispatchSelector(ActiveMQDestination destination)
destination - public Subscription getExclusiveConsumer()
public void setExclusiveConsumer(Subscription exclusiveConsumer)
public boolean isExclusiveConsumer(Subscription s)
public boolean canSelect(Subscription subscription, MessageReference m) throws Exception
Exceptionpublic void pause()
public void resume()
public boolean isPaused()
Copyright © 2005–2015 FuseSource, Corp.. All rights reserved.