activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javaxmlsoapdev <vika...@yahoo.com>
Subject Transaction Boundry Spring DAO and Producer
Date Wed, 23 Aug 2006 20:48:09 GMT

In my service layer when I call DAO method to insert a record,
subsequently(in the same logical block) I call producer to put a message in
the queue. I need to bind this logical block in one transaction so that if
insertion of a record fails, call to producer should not occur

I am using Jencks. should Jencks transaction be used or Spring declarative
transaction? Any example?

-- 
View this message in context: http://www.nabble.com/Transaction-Boundry-Spring-DAO-and-Producer-tf2154808.html#a5952450
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message