[jboss-user] [JBoss Messaging] - Re: Message redelivery
do-not-reply at jboss.com
Tue Oct 31 21:29:32 EST 2006
anonymous wrote :
| If a RuntimeException is thrown then redelivery should occur - this is mandated in the JMS spec 1.1, section 4.5.2.
Sort of. As Ovidiu points out, this is a bit different situation if he is using MDBs. This is one gray area where the JMS spec and the EJB spec are not exactly in agreement. If an runtime exception is thrown in the context of of a transaction, no problems there. However, if the exception is thrown using a NotSupported or BMT the spec is less clear as the delivery of the message occurs in a 'unspecified transaction context.
JBoss supports varying behavior depending upon version and whether or not you are using JMS/JCA.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982266#3982266
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982266
More information about the jboss-user