|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
UMOMessageDispatcher
combines UMOMessageDispatching
with
various lifecycle methods for the actual instances doing message sending/receiving.
Field Summary |
Fields inherited from interface org.mule.umo.provider.UMOMessageDispatching |
RECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELY |
Method Summary | |
void |
activate()
This method can perform necessary state updates before any of the UMOMessageDispatching methods are invoked. |
UMOConnector |
getConnector()
Gets the connector for this dispatcher |
void |
passivate()
After sending/receiving a message, the dispatcher can use this method e.g. |
boolean |
validate()
Determines whether this dispatcher can be reused after message sending/receiving. |
Methods inherited from interface org.mule.umo.lifecycle.Disposable |
dispose |
Methods inherited from interface org.mule.umo.provider.UMOConnectable |
connect, disconnect, getConnectionDescription, isConnected |
Methods inherited from interface org.mule.umo.provider.UMOMessageDispatching |
dispatch, receive, send |
Method Detail |
public void activate()
UMOMessageDispatching
methods are invoked.
{@link UMOMessageDispatcherFactory#activate(org.mule.umo.endpoint.UMOImmutableEndpoint, UMOMessageDispatcher)}
public void passivate()
activate()
.
{@link UMOMessageDispatcherFactory#passivate(org.mule.umo.endpoint.UMOImmutableEndpoint, UMOMessageDispatcher)}
public boolean validate()
true
if this dispatcher can be reused,
false
otherwise (for example when
Disposable.dispose()
has been called because an Exception was
raised)public UMOConnector getConnector()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |