public interface MessageRequester extends Connectable, MessageRequesting, LifecycleStateEnabled
MessageRequesting
with
various lifecycle methods for the actual instances doing message sending.PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
REQUEST_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. |
MuleMessage |
createMuleMessage(Object transportMessage) |
MuleMessage |
createMuleMessage(Object transportMessage,
String encoding) |
Connector |
getConnector()
Gets the connector for this dispatcher
|
InboundEndpoint |
getEndpoint() |
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.
|
connect, disconnect, getConnectionDescription, isConnected, validateConnection
initialise
dispose
request
getLifecycleState
void activate()
MessageDispatching
methods are invoked.void passivate()
activate()
.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()
InboundEndpoint getEndpoint()
MuleMessage createMuleMessage(Object transportMessage, String encoding) throws MuleException
MuleException
MuleMessage createMuleMessage(Object transportMessage) throws MuleException
MuleException
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.