Virtual topic subscriber queue does not allow the prefix or suffix to be configured

Solution Verified - Updated -

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:

  1. ActiveMQ.DLQ.Topic.myconsumer.a.test.virtual
  2. 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content