EventCallback callback2 = new EventCallback()
{
public void eventReceived(final MuleEventContext context, final Object component) throws Exception
{
MuleMessage msg = context.getMessage();
assertTrue(hop2made.compareAndSet(false, true));
// this is a service callback, props are on the inbound
assertEquals("Property not propagated from the first hop.", "hop1", msg.getInboundProperty("TICKET"));
FunctionalTestComponent ftc = (FunctionalTestComponent) component;
ftc.setReturnData(msg.getPayload() + " Hop2 ACK");
}