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.

Reply via email to