Using JMS transactions - how to handle in onMessage

View: New views
1 Messages — Rating Filter:   Alert me  

Using JMS transactions - how to handle in onMessage

by ss2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am using Jencks1.3/activeMQ 4/spring 2.0. My conf file is attached.spring.xml

I am having issues using XA transactions - but it dawned on me that I dont need to use XA transactions since I am not updating a database resource in my onMessage(). If I did switch to JMS transactions - do I need to add the commit and rollback calls to onmessage - I currently am not doing that with XA transactions.

Thanks!