The JMSDestination header in VirtualTopic shows wildcard address, and in 6.2.1 it was showing the destination name.

Solution Verified - Updated -

Issue

Different JMSDestination header value for VirtualTopic consumer between 6.2.1 and 6.3.0

JMSDestination is different
in version 6.2.1 -> shows the address
in version 6.3.0 -> shows the wildcard address

Example:
activemq.xml

        <destinationInterceptors>
          <virtualDestinationInterceptor>
              <virtualDestinations>
                       <virtualTopic name="MyTopic.>" prefix="Consumer.*." selectorAware="false"/>
              </virtualDestinations>
          </virtualDestinationInterceptor>
        </destinationInterceptors>

camel.xml

<from uri="activemq:queue:Consumer.*.MyTopic.*" /> 
<to uri="log:com.mycompany?showAll=true&amp;multiline=true"/>

Sending

activemq:producer --destination topic://MyTopic.example --user admin --password admin --messageCount 1

Results

Results 6.2.1 
JMSDestination=topic://MyTopic.example

Results 6.3.0 
JMSDestination=topic://MyTopic.*

Environment

Red Hat Fuse 6.3.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