[jboss-dev-forums] [Design of JBoss Transaction Services] - Re: TransactionTimeoutConfiguration pluggability
adrian@jboss.org
do-not-reply at jboss.com
Wed Mar 19 10:23:15 EDT 2008
"jhalliday" wrote : Adrian and the JBossAS team:
|
| I'm fixing http://jira.jboss.com/jira/browse/JBAS-5081 for use in JBossAS 4.2 and will then port across to 5.0
|
| I'm trying to get my head around how to write JBossAS testsuite tests, specifically one that will cover this.
|
| I don't see any way in the AS to get the object that implements TransactionTimeoutConfiguration in a pluggable fashion. The best I can do is assume that the TransactionManager also implements it and cast appropriately. Do we need a TransactionTimeoutConfigurationLocator to live alongside of the TransactionManagerLocator?
|
It is an optional extension interface to the TransactionManager.
It also gets implemented by the JBossJCA TxConnectionManager
by forwarding it to the tm (if it implements it).
anonymous wrote :
| Also, what do I do in the case of a new test like this that I know is going to fail until the next JBossTS release is available for consumption by the AS? Check it in anyhow and accept that the testsuite won't pass for a few weeks?
|
| Thanks
Either leave it failing with a "FIXME JBAS-5081" in the error message that the test produces.
Or if it is stopping a release add it to the "bad.tests.exclude" section.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137777#4137777
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137777
More information about the jboss-dev-forums
mailing list