Hi,
We require JMS and
EJB transactions together as one automic transaction such that we send a JMS message and try persisting the EJB (or do any database operation etc). If this proceeds without error then commit the JMS transaction Else rollback.
Similarly if the above commit of JMS fails then rolback the EJB transaction.
The session beans have no transaction tag so it will use the default which is supported.
Can we do this by using container Managed transactions OR do we have to do it manually using user transactions?
Please advise,
Regards,
Ashutosh