assertEquals(2, addCounter.get());
}
});
final SimpleClient client = getClient();
client.send(new RemoveListenerRequest(queueName, registrationId));
boolean result = (Boolean) client.receive();
assertTrue(result);
queue.offer("item3");
assertSizeEventually(3, queue);