me.setOperation(new QName("receive"));
NormalizedMessage nm = me.getInMessage();
nm.setContent(new StringSource("<hello>world</hello>"));
client.sendSync(me);
assertExchangeWorked(me);
client.done(me);
}
protected void assertExchangeWorked(MessageExchange me) throws Exception {
if (me.getStatus() == ExchangeStatus.ERROR) {
if (me.getError() != null) {