exchange.getInMessage().setContent(new StringSource("<hello>world</hello>"));
client.sendSync(exchange);
assertExchangeWorked(exchange);
ListenerBean bean = (ListenerBean) getBean("listenerBean");
MessageExchange answer = bean.getLastExchange();
log.info("Bean's process() method has been invoked: " + answer);
assertNotNull("Bean's process() method should bave been invoked", answer);
}