}
List inObj = message.getContent(List.class);
if (inObj != null) {
responseMsg.setContent(List.class, inObj);
}
client.onMessage(responseMsg);
} else if (!message.getExchange().isOneWay()) {
//for the server side inbound
//InterceptorChain chain = OutgoingChainSetupInterceptor.getOutInterceptorChain(
// message.getExchange());