ports.add(dynamicPort5.getNumber());
ports.add(dynamicPort6.getNumber());
greenMailSupport.startServers(ports);
LocalMuleClient client = muleContext.getClient();
client.dispatch("jms://in6?connector=jmsConnectorNoRedelivery", MESSAGE_TO_SEND, null);
endMessageProcessorExecuted.await(TIMEOUT, TimeUnit.MILLISECONDS);
((Lifecycle) getFlowConstruct("RollbackTransactionAndSendEmail")).stop();
MuleMessage response = client.request("jms://in6?connector=jmsConnectorNoRedelivery", TIMEOUT);
assertThat(response, IsNull.<Object>notNullValue());
assertThat(response.getPayloadAsString(), is(MESSAGE_TO_SEND));