DefaultMessageProcessorChainBuilder responseChainBuilder = new EndpointMessageProcessorChainBuilder(endpoint, flowConstruct);
responseChainBuilder.setName("InboundEndpoint '" + endpoint.getEndpointURI().getUri() + "' response chain");
// Default MPs
responseChainBuilder.chain(createInboundResponseMessageProcessors(endpoint));
// Configured MPs (if any)
responseChainBuilder.chain(endpoint.getResponseMessageProcessors());
// -- COMPOSITE REQUEST/RESPONSE CHAIN --
// Compose request and response chains. We do this so that if the request
// chain returns early the response chain is still invoked.
DefaultMessageProcessorChainBuilder compositeChainBuilder = new EndpointMessageProcessorChainBuilder(endpoint, flowConstruct);