MessageHandler messageDispatcher = new MessageDispatcher(targetInterceptorChainHead);
requestHandlers.add(messageDispatcher);
}
if (requestHandlers != null) {
MessageChannel requestChannel = new MessageChannelImpl(requestHandlers);
MessageChannel responseChannel = new MessageChannelImpl(responseHandlers);
Interceptor channelInterceptor = new RequestResponseInterceptor(requestChannel, targetRequestChannel,
responseChannel, targetResponseChannel);
if (interceptorChainHead != null) {
interceptorChainTail.setNext(channelInterceptor);