Assert.assertTrue("No latch timeout", outboundLatch.await(10, TimeUnit.SECONDS));
Assert.assertTrue("Contains msg1", outbound.contains("msg1"));
Assert.assertTrue("Contains msg2", outbound.contains("msg2"));
subscription.unsubscribe();
client.disconnect();
}
@Test
public void testSendWithTxCommit() throws Exception {