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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.