jbertram commented on a change in pull request #3063: ARTEMIS-2692 refactor 
queue creation
URL: https://github.com/apache/activemq-artemis/pull/3063#discussion_r404347330
 
 

 ##########
 File path: 
artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/ServerSessionPacketHandler.java
 ##########
 @@ -382,9 +411,25 @@ private void slowPacketHandler(final Packet packet) {
                   requiresResponse = request.isRequiresResponse();
                   QueueQueryResult result = 
session.executeQueueQuery(request.getQueueName());
                   if (!(result.isExists() && 
Objects.equals(result.getAddress(), request.getAddress()) && 
Objects.equals(result.getFilterString(), request.getFilterString()))) {
-                     session.createSharedQueue(request.getAddress(), 
request.getQueueName(), request.getRoutingType(), request.getFilterString(), 
request.isDurable(), request.getMaxConsumers(), request.isPurgeOnNoConsumers(),
-                                               request.isExclusive(), 
request.isGroupRebalance(), request.getGroupBuckets(), 
request.getGroupFirstKey(), request.isLastValue(), request.getLastValueKey(), 
request.isNonDestructive(), request.getConsumersBeforeDispatch(), 
request.getDelayBeforeDispatch(),
-                                               request.isAutoDelete(), 
request.getAutoDeleteDelay(), request.getAutoDeleteMessageCount());
+                     session.createSharedQueue(new 
QueueConfiguration(request.getQueueName())
 
 Review comment:
   Will do.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to