Fix RaceOnSyncLargeMessageOverReplication2Test
This commit is contained in:
parent
41800c2aa8
commit
19147113cb
|
@ -46,7 +46,9 @@ public class AutoCreatedQueueManagerImpl implements AutoCreatedQueueManager {
|
|||
logger.debug("deleting auto-created queue \"" + queueName + ".\" consumerCount = " + consumerCount + "; messageCount = " + messageCount + "; isAutoDeleteJmsQueues = " + isAutoDeleteJmsQueues);
|
||||
}
|
||||
|
||||
server.getJMSQueueDeleter().delete(queueName);
|
||||
if (server.getJMSQueueDeleter() != null) {
|
||||
server.getJMSQueueDeleter().delete(queueName);
|
||||
}
|
||||
}
|
||||
else if (logger.isDebugEnabled()) {
|
||||
logger.debug("NOT deleting auto-created queue \"" + queueName + ".\" consumerCount = " + consumerCount + "; messageCount = " + messageCount + "; isAutoDeleteJmsQueues = " + isAutoDeleteJmsQueues);
|
||||
|
|
|
@ -120,7 +120,7 @@ public class RaceOnSyncLargeMessageOverReplication2Test extends ActiveMQTestBase
|
|||
|
||||
connection = (ActiveMQConnection) factory.createConnection();
|
||||
session = connection.createSession(true, Session.SESSION_TRANSACTED);
|
||||
queue = session.createQueue("jms.queue.Queue");
|
||||
queue = session.createQueue("Queue");
|
||||
producer = session.createProducer(queue);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue