JBoss Community

Why use internal TransactionTimeoutConfiguration class?

created by Viacheslav Krot in IronJacamar - View the full discussion

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

Start a new discussion in IronJacamar at Community