public void processInOut(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException,
JBIException {
MessageExchangeFactory factory = getExchangeFactory();
InOut exchange = factory.createInOutExchange();
NormalizedMessage inMessage = exchange.createMessage();
try {
getMarshaler().toNMS(exchange, inMessage, request);
exchange.setInMessage(inMessage);
boolean result = getDeliveryChannel().sendSync(exchange);
if (result) {