}
/** Override this method to change the default MessageProcessors. */
protected List<MessageProcessor> createOutboundMessageProcessors(OutboundEndpoint endpoint) throws MuleException
{
Connector connector = endpoint.getConnector();
List<MessageProcessor> list = new ArrayList<MessageProcessor>();
// Log but don't proceed if connector is not started
list.add(new OutboundLoggingMessageProcessor());
list.add(new ProcessIfStartedMessageProcessor(connector, connector.getLifecycleState()));
// Everything is processed within ExecutionTemplate
list.add(new EndpointTransactionalInterceptingMessageProcessor(endpoint.getTransactionConfig()));
list.add(new OutboundEventTimeoutMessageProcessor());
list.add(new OutboundSessionHandlerMessageProcessor(connector.getSessionHandler()));
list.add(new OutboundEndpointPropertyMessageProcessor(endpoint));
list.add(new OutboundRootMessageIdPropertyMessageProcessor());
list.add(new OutboundResponsePropertiesMessageProcessor(endpoint));
list.add(new OutboundEndpointMimeTypeCheckingMessageProcessor(endpoint));