[ https://issues.apache.org/jira/browse/ARTEMIS-1587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334119#comment-16334119 ]
ASF GitHub Bot commented on ARTEMIS-1587: ----------------------------------------- Github user jostbg commented on the issue: https://github.com/apache/activemq-artemis/pull/1775 @michaelandrepearce All thoughts and ideas are appreciated :-) I could achieve what we need (despite it violates JMS spec) by changing the durable flag of a QueueConfig in beforeCreateQueue via reflection to false but especially since the durable field is final (which I can still change by removing the final flag via reflection first) this feels like a risky operation. So if I could create the queue that I need programmatically in beforeCreateQueue() and the ActiveMQServerImpl would - instead of directly executing `queueFactory.createQueueWith(queueConfig);` after the broker plugins are called - check if the queue now already exists I would have all the flexibility I need. > Add setting to control the queue durable property for auto-created addresses > ---------------------------------------------------------------------------- > > Key: ARTEMIS-1587 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1587 > Project: ActiveMQ Artemis > Issue Type: New Feature > Components: Broker > Affects Versions: 2.4.0 > Reporter: Johan Stenberg > Assignee: Martyn Taylor > Priority: Major > > When pre-defining queues in the broker.xml the durable property can be > specified. Auto-created queues are currently always durable. It would be > useful to extend the AddressSettings so that default queue durability for > auto-created queues can be specified. -- This message was sent by Atlassian JIRA (v7.6.3#76005)