[ 
https://issues.apache.org/jira/browse/ARTEMIS-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17851708#comment-17851708
 ] 

Justin Bertram commented on ARTEMIS-4760:
-----------------------------------------

The broker creates a subscription queue for an MQTT consumer and it should do 
so even if {{auto-create-queues}} is {{false}} because this is how it's handled 
for other protocols and also the documented behavior:

bq. Automatic queue creation is for queues that _would not otherwise be created 
during normal operation_. For example, when a remote application creates a 
consumer on a JMS topic then a queue will be created representing that 
subscription as described in the [JMS-to-core mapping 
chapter|https://activemq.apache.org/components/artemis/documentation/latest/jms-core-mapping.html].
 This queue will be created regardless of how {{auto-create-queues}} is 
configured because it is required for _normal operation_.

The previously committed code is incorrect.

> Creating MQTT consumer should work if auto-create-queues is false
> -----------------------------------------------------------------
>
>                 Key: ARTEMIS-4760
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4760
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to