MDB running in JBoss EAP cannot connect to Remote HornetQ

Solution Unverified - Updated -

Issue

We are finding difficult to migrate one our MDB which listen to remote HornetQ. It never appears to connect and simply says:

awaiting for topic/queue creation jms/myQueue.  

MDB looks like this.

  @MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
    @ActivationConfigProperty(propertyName = "destination",propertyValue="jms/myQueue"),
    @ActivationConfigProperty(propertyName = "connectorClassName", propertyValue = "org.hornetq.core.remoting.impl.netty.NettyConnectorFactory"),
    @ActivationConfigProperty(propertyName = "connectionParameters", propertyValue = "host=myHost;port=5445")})

Environment

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