}
}).start();
// Send message exchange
MessageExchangeFactory mef = consumer.getChannel().createExchangeFactory(endpoint);
InOut mec = mef.createInOutExchange();
NormalizedMessage m = mec.createMessage();
m.setContent(new StreamSource(new ByteArrayInputStream(PAYLOAD.getBytes())));
mec.setInMessage(m);
consumer.getChannel().sendSync(mec, 10000L);
assertEquals(ExchangeStatus.ACTIVE, mec.getStatus());
mec.setStatus(ExchangeStatus.DONE);