[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: AIO/DirectIO Integration
timfox
do-not-reply at jboss.com
Fri Apr 25 02:42:23 EDT 2008
The test is illegal, since you're adding record 1 in the same tx as you're deleting it.
In messaging you can't do this (send and consume in the same tx).
If you delete something in a tx it must already exist in committed (not transactional) state.
Actually the test is useful though, can you keep it but change it to assert that the exception is thrown as it currently is?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146716#4146716
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146716
More information about the jboss-dev-forums
mailing list