[A-MQ, jms pool] org.apache.activemq.jms.pool.PooledConnection will not start again after stop() was called.

Solution Verified - Updated -

Issue

  • org.apache.activemq.jms.pool.PooledConnection will not start again after stop() was called. According to the JMS spec "temporarily stopped
    using its stop() method. It can be restarted using its start() method." . When start() is called after stop() the following exception is thrown
javax.jms.IllegalStateException: Connection closed
    at org.apache.activemq.jms.pool.PooledConnection.assertNotClosed(PooledConnection.java:206)
    at org.apache.activemq.jms.pool.PooledConnection.start(PooledConnection.java:94)

Environment

  • A-MQ 6.2.1 GA

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