ARTEMIS-2692 Fixing tests on queue creation
Fixing mishap / typo
This commit is contained in:
parent
89634e3660
commit
eb4cd209b1
|
@ -1262,13 +1262,13 @@ public class ActiveMQSession implements QueueSession, TopicSession {
|
|||
void createSharedQueue(ActiveMQDestination destination, RoutingType routingType, SimpleString queueName, SimpleString filter, boolean durable, ClientSession.AddressQuery addressQuery) throws ActiveMQException {
|
||||
QueueConfiguration queueConfiguration = destination.getQueueConfiguration() == null ? new QueueConfiguration(queueName) : destination.getQueueConfiguration();
|
||||
setRequiredQueueConfigurationIfNotSet(queueConfiguration, addressQuery, routingType, filter, durable);
|
||||
session.createSharedQueue(queueConfiguration.setName(queueName).setAddress(destination.getAddress()));
|
||||
session.createSharedQueue(queueConfiguration.setName(queueName).setAddress(destination.getAddress()).setDurable(durable));
|
||||
}
|
||||
|
||||
void createQueue(ActiveMQDestination destination, RoutingType routingType, SimpleString queueName, SimpleString filter, boolean durable, boolean autoCreated, ClientSession.AddressQuery addressQuery) throws ActiveMQException {
|
||||
QueueConfiguration queueConfiguration = destination.getQueueConfiguration() == null ? new QueueConfiguration(queueName) : destination.getQueueConfiguration();
|
||||
setRequiredQueueConfigurationIfNotSet(queueConfiguration, addressQuery, routingType, filter, durable);
|
||||
session.createQueue(queueConfiguration.setName(queueName).setAddress(destination.getAddress()).setAutoCreated(autoCreated));
|
||||
session.createQueue(queueConfiguration.setName(queueName).setAddress(destination.getAddress()).setAutoCreated(autoCreated).setDurable(durable));
|
||||
}
|
||||
|
||||
// Private -------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue