}
public void testSingleEventNoTimeoutAsync() throws Exception
{
RequestReplyRequesterMessageProcessor asyncReplyMP = new TestAsyncRequestReplyRequester();
SensingNullMessageProcessor target = getSensingNullMessageProcessor();
AsyncInterceptingMessageProcessor asyncMP = new AsyncInterceptingMessageProcessor(
new WorkManagerSource()
{
public WorkManager getWorkManager() throws MuleException
{
return muleContext.getWorkManager();
}
}, true);
asyncMP.setListener(target);
asyncReplyMP.setListener(asyncMP);
asyncReplyMP.setReplySource(target.getMessageSource());
MuleEvent event = getTestEvent(TEST_MESSAGE, getTestService(),
getTestInboundEndpoint(MessageExchangePattern.ONE_WAY));
MuleEvent resultEvent = asyncReplyMP.process(event);