public void noPropagationOfInvocationScopeAsynchronous() throws Exception
{
MuleClient client = muleContext.getClient();
MuleMessage message = new DefaultMuleMessage(TEST_MESSAGE, muleContext);
message.setProperty("foo", "bar", PropertyScope.INVOCATION);
client.dispatch("vm://in-asynch", message);
MuleMessage response = client.request("vm://out-asynch", RECEIVE_TIMEOUT);
assertNotNull(response);
// VM Transport does not propagate invocation properties
assertNull(response.getProperty("foo", PropertyScope.INVOCATION));
}