[jboss-user] [IronJacamar] - Why use internal TransactionTimeoutConfiguration class?

Viacheslav Krot do-not-reply at jboss.com
Tue Apr 10 06:23:25 EDT 2012


Viacheslav Krot [https://community.jboss.org/people/krot-s] created the discussion

"Why use internal TransactionTimeoutConfiguration class?"

To view the discussion, visit: https://community.jboss.org/message/729094#729094

--------------------------------------------------------------
Hello all,

I wonder why do you use own TransactionTimeoutConfiguration class (org.jboss.jca.core.spi.transaction.TransactionTimeoutConfiguration) when having org.jboss.tm.TransactionTimeoutConfiguration? It seems to cause a bug: 
in org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl#getTimeLeftBeforeTransactionTimeout you check if transactionManager is instance of org.jboss.jca.core.spi.transaction.TransactionTimeoutConfiguration, but transactionManager comes from jbosstm, it is instance of com.arjuna.ats.jbossatx.jts.TransactionManagerDelegate in my case, that in turn implements org.jboss.tm.TransactionTimeoutConfiguration. So check always fails.
Is that a bug or misconfiguration? Should I post an issue to JIRA?

Thank you in advance.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/729094#729094]

Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120410/fc6c9497/attachment.html 


More information about the jboss-user mailing list