What is the correct sintax to set the transaction timeout in a MDB? In a ouple of docuements I found that jboss.xml can have a method-attributes element with a sub-elelemnt transaction-timeout or an activation-config element that could contain a transactionTimeout property.
I am working with JBoss5.1.
That article in the wiki is quite helpful. Nevertheless, I was hoping to configure the transaction timeout of a mdb in a declarative fassion according to the following article:
If I understand correctly, JBoss has extensions for the transaction timeout according to this article:
Hence, I was wondering if I coudl add the following to the jboss.xml file:
Would this add the transaction timeout to the onMessage method ot to the whole class? Would this work for a EJB2 and EJB3?