ActiveMQ client hangs when calling createSession() with AMQP protocol

Solution Verified - Updated -

Issue

When ActiveMQ (as part of jboss-fuse-6.1.0-redhat-379) is configured to use the AMQP protocol for JMS interaction, JMS clients hang when executing the standard API operation

Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);

The problem appears superficially similar to this issue: https://issues.jboss.org/browse/ENTMQ-551, which is reported as fixed by build 379.

The Maven project used to build the client specifies the following dependencies, and the project builds correctly:

<dependency>
  <groupId>org.apache.qpid</groupId>
   <artifactId>qpid-amqp-1-0-client-jms</artifactId>
   <version>0.26-SNAPSHOT</version>
</dependency> 

<dependency>
  <groupId>org.apache.geronimo.specs</groupId>
  <artifactId>geronimo-jms_1.1_spec</artifactId>
  <version>1.0</version>
</dependency>

Environment

JBoss Fuse 6.1.0, build 379 (jboss-fuse-6.1.0-redhat-379)

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