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()));