Virtual topic subscriber queue does not allow the prefix or suffix to be configured
Issue
A virtual topic subscriber queue, when configured for a individualDeadLetterStrategy, does not allow the prefix or suffix to be configured, it is always "ActiveMQ.DLQ.Topic.{Subscriber Queue Name}". For example, the following activemq broker configuration produces the following queues after a message expired:
- ActiveMQ.DLQ.Topic.myconsumer.a.test.virtual
- consumer.a.test.virtual
<policyEntry queue=">" ... >
<deadLetterStrategy>
<individualDeadLetterStrategy
queuePrefix="DLQ.MYPREFIX."
queueSuffix=".MYSUFFIX.DLQ"
useQueueForQueueMessages="true"
processExpired="true"
processNonPersistent="true"
enableAudit="false"/>
</deadLetterStrategy>
</policyEntry>
...
<virtualTopic name="test.virtual.>" prefix="myconsumer.*."/>
Environment
- Red Hat A-MQ
- 6.2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.