You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2021/01/10 06:59:00 UTC
[jira] [Commented] (AMQ-8119) allConsumersExclusiveByDefault
property is not working when set in activemq.xml
[ https://issues.apache.org/jira/browse/AMQ-8119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17262099#comment-17262099 ]
Jean-Baptiste Onofré commented on AMQ-8119:
-------------------------------------------
And I guess it works when you define on client side (with {{consumer.exclusive=true}}).
Regarding, the destination policy, {{allConsumersExclusiveByDefault}} is for queue only (not topic). Is it really on a queue in your configuration ?
I will try to reproduce. Thanks for the report.
> allConsumersExclusiveByDefault property is not working when set in activemq.xml
> -------------------------------------------------------------------------------
>
> Key: AMQ-8119
> URL: https://issues.apache.org/jira/browse/AMQ-8119
> Project: ActiveMQ
> Issue Type: Bug
> Components: AMQP
> Affects Versions: 5.12.2
> Reporter: Sri Lavanya
> Assignee: Jean-Baptiste Onofré
> Priority: Blocker
>
> Trying to set the {{allConsumersExclusiveByDefault}} on a queue to enable exclusive consumer support by default, Declared it in the {{activemq.xml}} with a policy entry.
> {code:java}
> <policyEntry queue=">" allConsumersExclusiveByDefault="true"/>{code}
> and it does not work. The Exclusive property for the consumers on the web console is still false.
> There should be an example usage in the ActiveMQ documentation too which will be helpful.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)