public interface MessageRequester extends Disposable, Connectable, MessageRequesting
MessageRequesting with
various lifecycle methods for the actual instances doing message sending.PHASE_NAMEREQUEST_NO_WAIT, REQUEST_WAIT_INDEFINITELY| Modifier and Type | Method and Description |
|---|---|
void |
activate()
This method can perform necessary state updates before any of the
MessageDispatching methods are invoked. |
Connector |
getConnector()
Gets the connector for this dispatcher
|
void |
passivate()
After receiving a message, the dispatcher can use this method e.g.
|
boolean |
validate()
Determines whether this dispatcher can be reused after message receiving.
|
disposeconnect, disconnect, getConnectionDescription, isConnectedrequestvoid activate()
MessageDispatching methods are invoked.org.mule.api.transport.MessageDispatcherFactory#activate(org.mule.api.endpoint.ImmutableEndpoint, org.mule.api.transport.MessageDispatcher)}void passivate()
activate().org.mule.api.transport.MessageDispatcherFactory#passivate(org.mule.api.endpoint.ImmutableEndpoint, org.mule.api.transport.MessageDispatcher)}boolean validate()
true if this dispatcher can be reused,
false otherwise (for example when
Disposable.dispose() has been called because an Exception was
raised)Connector getConnector()
Copyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.