client.connect();
final Set<String> outbound = new HashSet<String>();
final CountDownLatch outboundLatch = new CountDownLatch(2);
SubscriptionBuilder builder = client.subscribe(DESTINATION_QUEUE_ONE);
builder.withMessageHandler(new MessageHandler() {
public void handle(StompMessage message) {
String content = message.getContentAsString();
outbound.add(content);
outboundLatch.countDown();
}