MDB listen on topic does not get fully deployed if the activation property destination is set to JNDI name

Solution Verified - Updated -

Issue

If hornetq contains a topic that is defined as

<topic name="testTopic">
<entry name="/topic/testTopic"/>
</topic>

and MDB activation property destination is set as

@ActivationConfigProperty(propertyName = "destination", propertyValue = "/topic/testTopic")

the MDB deploys correctly and is able to consumed messages.

But, If hornetq contains a topic that is defined as

<topic name="aaa">
      <entry name="bbb"/>
   </topic>

and MDB activation property destination is set as

@ActivationConfigProperty(propertyName = "destination", propertyValue = "/bbb")

the MDB seems to deploy without errors but is not able to consume any messages from the topic bbb and the topic does not seem to have any subscribers.

Environment

  • JBoss Enterprise Platform 5.1.2
  • HornetQ - 2.2.10.GA

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.