}
};
subscriptionBean.setEventCallback(callback);
MuleClient client = new MuleClient(muleContext);
Order order = new Order("Sausage and Mash");
client.send("jms://orders.queue", order, null);
Thread.sleep(1000);
assertTrue(eventCount.get() == 1);
MuleMessage result = client.request("jms://processed.queue", 10000);