Map<String, Object> props = new HashMap<String, Object>();
props.put("JMSReplyTo", "middle");
client.dispatch("in", DEFAULT_INPUT_MESSAGE, props);
// Check that the property is still on the outbound message
MuleMessage output = client.request("out", 2000);
assertNotNull(output);
final Object o = output.getOutboundProperty("JMSReplyTo");
assertTrue(o.toString().contains("middle"));
// Check that the reply message was generated