// now lets sleep for a while
boolean received = latch.await(5, TimeUnit.SECONDS);
assertTrue("Did not receive the message!", received);
context.stop();
}
public void testThatShowsEndpointResolutionIsNotConsistent() throws Exception {
final CountDownLatch latch = new CountDownLatch(1);