assertNull(provider.getChannel().accept(100L)); // receive in
}
public void testInOnlySyncWithTimeoutBeforeAccept() throws Exception {
// Send message exchange
MessageExchangeFactory mef = consumer.getChannel().createExchangeFactoryForService(new QName("provider"));
InOnly mec = mef.createInOnlyExchange();
NormalizedMessage m = mec.createMessage();
m.setContent(new StringSource(PAYLOAD));
mec.setInMessage(m);
boolean result = consumer.getChannel().sendSync(mec, 100L);
assertFalse(result);