HornetQ core bridge will not deploy because of missing queue in JBoss EAP 6
Issue
I´m trying to config a bridge in HornetQ but I'm getting the next message ,
21:23:08,280 WARN [org.hornetq.core.server] (MSC service thread 1-4) HQ222125: No queue found with name jms.queue.test bridge will not be deployed.
My goal is to move messages between 2 JMS destinations. Specifically, I want to send a message from testQueue into bridgeQueue. Both of these queues are in the same HornetQ server in the same box. The configuration in the standalone-full-ha.xml is as follows:
<bridges>
<bridge name="my-bridge">
<queue-name>testQueue</queue-name>
<forwarding-address>bridgeQueue</forwarding-address>
<static-connectors>
<connector-ref>
in-vm
</connector-ref>
</static-connectors>
</bridge>
</bridges>
...
<jms-destinations>
<jms-queue name="testQueue">
<entry name="java:jboss/exported/jms/queue/test"/>
<durable>true</durable>
</jms-queue>
<jms-queue name="bridgeQueue">
<entry name="java:jboss/exported/jms/queue/bridge"/>
<durable>true</durable>
</jms-queue>
</jms-destinations>
...
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
