outboundLatch.countDown();
}
});
ClientSubscription subscription = builder.start();
ClientTransaction tx = client.begin();
tx.send(StompMessages.createStompMessage(DESTINATION_QUEUE_ONE, "msg1"));
tx.send(StompMessages.createStompMessage(DESTINATION_QUEUE_ONE, "msg2"));
tx.commit();
Assert.assertTrue("No latch timeout", outboundLatch.await(3, TimeUnit.SECONDS));