The only issue I'm having now, is when using a nonTransaction session, like this case,
when inside an transactioned EJB:
| ConnectionFactory cf = jndi.lookup("java:/JmsXA");
| Connection conn = cf.createConnection();
| session = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);
| MessageProducer producer = session.createProducer(replyTo);
| producer.send(session.createTextMessage("NonTransactioned
message"));
| session.close();
|
This following code, only works if we commit the UserTransaction, or if a
BeanManagedTransaction completes its execution.
From what I have seen on TCK tests, this is supposed to really behave
as a nonTransacted session and this shouldn't require the userTransaction.commit to
send that message.
Any thoughts?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039351#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...