assertNull(provider.getChannel().accept(100L)); // receive in
}
public void testInOnlyWithError() throws Exception {
MessageExchangeFactory mef = consumer.getChannel().createExchangeFactoryForService(new QName("provider"));
InOnly mec = mef.createInOnlyExchange();
NormalizedMessage m = mec.createMessage();
m.setContent(new StringSource(PAYLOAD));
mec.setInMessage(m);
assertEquals(Role.CONSUMER, mec.getRole());
consumer.getChannel().send(mec);