activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SteveDicks <>
Subject ActiveMQ C++ (CMS) problems
Date Thu, 11 Oct 2007 09:48:00 GMT

  I'm using CMS 2.1 with ActiveMQ 4.1 in transactional mode, and using
callbacks (onMessage) to alert me to a message arriving. However I have 2

a) If I call Session::commit() in onMessage() (which none of the examples
do) then I get a core dump.
b) Having worked around (a), calling Session::rollback() appears to have no
effect - I have to close and re-open the session to get the desired effect
of the message being put back into the MQ to be retrieved again.
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message