|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A dispatcher of messages to some JMS connection.
Typically this uses either IO or NIO to shovel the messages down a socket as fast as possible - in either a push or pull way.
Method Summary | |
void |
addActiveSubscription(BrokerClient client,
Subscription sub)
Add an active subscription |
void |
register(MessageContainerManager mcm)
Register the MessageContainerManager for the Dispatcher |
void |
removeActiveSubscription(BrokerClient client,
Subscription sub)
remove an active subscription |
void |
wakeup()
Called to indicate that there is work to do this will wake up a Dispatch Worker if it is waiting for messages to dispatch |
void |
wakeup(Subscription sub)
Called to indicate that there is work to do on a Subscription this will wake up a Dispatch Worker if it is waiting for messages to dispatch |
Methods inherited from interface org.codehaus.activemq.service.Service |
start, stop |
Method Detail |
public void register(MessageContainerManager mcm)
mcm
- public void wakeup(Subscription sub)
sub
- the Subscription that now has messages to dispatchpublic void wakeup()
public void addActiveSubscription(BrokerClient client, Subscription sub)
client
- sub
- public void removeActiveSubscription(BrokerClient client, Subscription sub)
client
- sub
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |