org.mule.endpoint
Class DefaultOutboundEndpoint
java.lang.Object
org.mule.endpoint.AbstractEndpoint
org.mule.endpoint.DefaultOutboundEndpoint
- All Implemented Interfaces:
- Serializable, ImmutableEndpoint, OutboundEndpoint, MessageDispatching
public class DefaultOutboundEndpoint
- extends AbstractEndpoint
- implements OutboundEndpoint
- See Also:
- Serialized Form
Constructor Summary |
DefaultOutboundEndpoint(Connector connector,
EndpointURI endpointUri,
List transformers,
List responseTransformers,
String name,
Map properties,
TransactionConfig transactionConfig,
Filter filter,
boolean deleteUnacceptedMessage,
EndpointSecurityFilter securityFilter,
boolean synchronous,
int responseTimeout,
String initialState,
String endpointEncoding,
String endpointBuilderName,
MuleContext muleContext,
RetryPolicyTemplate retryPolicyTemplate)
|
Methods inherited from class org.mule.endpoint.AbstractEndpoint |
equal, equals, getConnector, getEncoding, getEndpointBuilderName, getEndpointURI, getFilter, getInitialState, getMuleContext, getName, getProperties, getProperty, getProtocol, getResponseTimeout, getResponseTransformers, getRetryPolicyTemplate, getSecurityFilter, getTransactionConfig, getTransformers, hashCode, isDeleteUnacceptedMessages, isReadOnly, isSynchronous, toString, updateTransformerEndpoints |
Methods inherited from interface org.mule.api.endpoint.ImmutableEndpoint |
getConnector, getEncoding, getEndpointBuilderName, getEndpointURI, getFilter, getInitialState, getMuleContext, getName, getProperties, getProperty, getProtocol, getResponseTimeout, getResponseTransformers, getRetryPolicyTemplate, getSecurityFilter, getTransactionConfig, getTransformers, isDeleteUnacceptedMessages, isReadOnly, isSynchronous |
DefaultOutboundEndpoint
public DefaultOutboundEndpoint(Connector connector,
EndpointURI endpointUri,
List transformers,
List responseTransformers,
String name,
Map properties,
TransactionConfig transactionConfig,
Filter filter,
boolean deleteUnacceptedMessage,
EndpointSecurityFilter securityFilter,
boolean synchronous,
int responseTimeout,
String initialState,
String endpointEncoding,
String endpointBuilderName,
MuleContext muleContext,
RetryPolicyTemplate retryPolicyTemplate)
dispatch
public void dispatch(MuleEvent event)
throws DispatchException
- Description copied from interface:
MessageDispatching
- Dispatches an event from the endpoint to the external system
- Specified by:
dispatch
in interface MessageDispatching
- Parameters:
event
- The event to dispatch
- Throws:
DispatchException
- if the event fails to be dispatched
send
public MuleMessage send(MuleEvent event)
throws DispatchException
- Description copied from interface:
MessageDispatching
- Sends an event from the endpoint to the external system
- Specified by:
send
in interface MessageDispatching
- Parameters:
event
- The event to send
- Returns:
- event the response form the external system wrapped in a MuleEvent
- Throws:
DispatchException
- if the event fails to be dispatched
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.