Create HornetQ "core" bridge between a JMS queue and a JMS topic in JBoss EAP 6

Solution Unverified - Updated -

Issue

  • How to create HornetQ "core" bridge between a JMS queue and a JMS topic?

Here is core bridge configuration :

<bridges>
  <bridge name="a-to-b">
    <queue-name>jms.topic.topic/abc.xyz.tuv.out</queue-name>
    <forwarding-address>jms.queue.queue/test</forwarding-address>
    <user>jmsUser</user>
    <password>changeme</password>
    <ha>true</ha>
    <retry-interval>1000</retry-interval>
    <retry-interval-multiplier>1.0</retry-interval-multiplier>
    <reconnect-attempts>-1</reconnect-attempts>
    <failover-on-server-shutdown>true</failover-on-server-shutdown>
    <use-duplicate-detection>true</use-duplicate-detection>
    <static-connectors>
      <connector-ref>remote-connector</connector-ref>
    </static-connectors>
  </bridge>
</bridges>

bridge destinations are defined as:

<jms-queue name="queue/test">
    <entry name="java:jboss/exported/jms/queue/test"/>
</jms-queue>

<jms-topic name="topic/test">
    <entry name="java:jboss/exported/jms/topic/test"/>
</jms-topic>

server is getting the following warning:

11:19:36,359 WARN  [org.hornetq.core.server.cluster.impl.ClusterManagerImpl] (MSC service thread 1-4) No queue found with name jms.topic.topic/test bridge will not be deployed.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.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