msgsA.waitForMessagesToArrive(MESSAGE_COUNT);
Thread.sleep(1000);
MessageConsumer clientB = createConsumer("BrokerB", dest);
MessageIdList msgsB = getConsumerMessages("BrokerB", clientB);
msgsB.waitForMessagesToArrive(MESSAGE_COUNT);
LOG.info("A+B: " + msgsA.getMessageCount() + "+"
+ msgsB.getMessageCount());
assertEquals("Consumer on Broker A, should've consumed all messages", MESSAGE_COUNT, msgsA.getMessageCount());
assertEquals("Broker B shouldn't get any messages", 0, browsed);