activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sburczymucha <sburczymuchate...@gmail.com>
Subject Active NMS - ISession and transaction listeners - how do I get TransactionId
Date Sat, 19 Dec 2015 21:33:28 GMT
Hello,

I'm using Active NMS and I would like to log some information (e.g.
Transaction ID) about currently processed transaction. It seems that I can
use transaction listeners: TransactionStartedListener,
TransactionCommittedListener and TransactionRolledBackListener but I'm
having a problem with getting Transaction ID in TransactionCommittedListener
- it is always null. Is there any other way to do it? Here is a sample code:



Thank you,
Best Regards,



--
View this message in context: http://activemq.2283324.n4.nabble.com/Active-NMS-ISession-and-transaction-listeners-how-do-I-get-TransactionId-tp4705218.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message