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 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.