|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.geronimo.messaging.interceptors.MsgOutDispatcher
Dispatches Msgs to Msg output based on their headers.
| Constructor Summary | |
MsgOutDispatcher(Object aHeaderKey)
Dispatches the received Msgs to the registered Msg outputs based on the value of the header having the key aHeaderKey. |
|
| Method Summary | |
void |
push(Msg aMsg)
Dispatches the Msg. |
void |
register(Object aHeader,
MsgOutInterceptor anOut)
Registers a header value. |
void |
unregister(Object aHeader)
Unregisters a header value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MsgOutDispatcher(Object aHeaderKey)
aHeaderKey - Header key.| Method Detail |
public void register(Object aHeader,
MsgOutInterceptor anOut)
aHeader - Header value.anOut - Msgs having the specified header value are dispatched to
this Msg output.public void unregister(Object aHeader)
aHeader - Header to be unregistered.public void push(Msg aMsg)
push in interface MsgOutInterceptoraMsg - Msg to be dispatched.
RuntimeException - Indicates that no Msg output is registered
for this Msg.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||