MDB listen on topic does not get fully deployed if the activation property destination is set to JNDI name
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, tools, and much more.