This content has been marked as final.
Show 3 replies
-
1. Re: JMS session transaction not managed by container?
ataylor Dec 12, 2008 9:44 AM (in response to aleksander.lech)you need to commit the session after you have sent the message, i.e.
jmsSession.commit();
-
2. Re: JMS session transaction not managed by container?
aleksander.lech Dec 12, 2008 10:01 AM (in response to aleksander.lech)Now works, thanks.
But why it cannot be done by the container in the same way the User Transaction propagates to EntityManager? -
3. Re: JMS session transaction not managed by container?
ataylor Dec 12, 2008 10:48 AM (in response to aleksander.lech)you need to use the java:/JmsXA connection factory, have a llook at the MDB examples shipped with JBM 1.4