ActiveMQ Resource Adapter does not seems to pool connections

Solution In Progress - Updated -

Issue

We have installed and configured the ActiveMQ Resource Adapter in a WebSphere Application Server 7.0.0 instance and it seems that ActiveMQ connections are not being pooled.

Relevant details:
1. Running ActiveMQ within Fuse 6.1.0 r2p6
2. WebSphere Application Server 7.0.0 (WAS)
4. ActiveMQ RAR 5.9.0.redhat-611412 from here
5. RAR installation as per this article
6. The application within WAS was configured to use one of the configured queues and the connection factory
7. A small application was created that logs connection creation and removed by monitoring the "ActiveMQ.Advisory.Connection" topic

When the application sends JMS messages we can see connections being rapidly opened and closed, based on "ActiveMQ.Advisory.Connection" topic activity. The connections are held open on average 12ms (max 474ms, min 1ms).The messages are successfully sent, but the JMS connections appear to be opened and closed rather than pooled.

Questions:
1. Is this the expected behaviour of the ActiveMQ Resource Adapter with respect to JMS connection pooling?
2. What needs to be configured to enable JMS connection pooling in the ActiveMQ Resource Adapter?

Environment

  • Red Hat JBoss Fuse
    • 6.1.0

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.