-
Bug
-
Resolution: Done
-
Major
-
JBoss A-MQ 6.2.1
-
None
-
None
According to the JMS 1.1 spec
4.3.4 Pausing Delivery of Incoming Messages A connection’s delivery of incoming messages can be temporarily stopped using its stop() method. It can be restarted using its start() method.
When start() is called after stop() on a org.apache.activemq.jms.pool.PooledConnection the following exception is received
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)
When using a non pooled connection (coming org.apache.activemq.ActiveMQConnectionFactory) the start() seems to work after the stop() has been invoked.
- relates to
-
AMQ-6350 Loading...