[jboss-dev-forums] [Design of JBoss Transaction Services] - Re: TransactionTimeoutConfiguration pluggability
jhalliday
do-not-reply at jboss.com
Wed Mar 19 12:04:59 EDT 2008
I'm tempted to revise the spi spec such that the method throws SystemException if the arg is true and the tx is in anything other than STATUS_ACTIVE. The JIRA mentions STATUS_PREPARING as a valid state, but I'm not so sure. Attempting to timeout and rollback a PREPARING tx is a very dodgy proposition. IllegalStateException is probably more appropriate than SystemException, but unchecked. There is also the matter of clarifying the expected time units for the return value.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137820#4137820
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137820
More information about the jboss-dev-forums
mailing list