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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...