assertEquals(1,activations.size());
HornetQActivation activation = activations.values().iterator().next();
SimpleString tempQueueName = activation.getTopicTemporaryQueue();
QueueQuery query = session.queueQuery(tempQueueName);
assertTrue(query.isExists());
//this should be enough to simulate the crash
qResourceAdapter.getDefaultHornetQConnectionFactory().close();
qResourceAdapter.stop();