activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From artnaseef <>
Subject Re: Should connection.createSession throw an exception if the connection isn't started?
Date Mon, 16 Jun 2014 03:24:04 GMT
The JMS spec does call out the need to call start() before consuming
messages.  There is setup that can experience race conditions, or
order-of-operation problems otherwise.  For example, a connection listener
cannot be reliably added to a connection before it's needed.

It's frustrating to experience the problem of simply failing to consume,
especially since it all "just looks right" otherwise.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message