InOut exchange = client.createInOutExchange();
exchange.setEndpoint(se);
exchange.getInMessage().setContent(new StringSource("<hello>world</hello>"));
client.sendSync(exchange);
client.done(exchange);
assertExchangeWorked(exchange);
ListenerBean bean = (ListenerBean) getBean("listenerBean");
MessageExchange answer = bean.getLastExchange();