I have looked through this forum and searched for the answer with no luck. I am using JBoss 4.0.5 and ejb3 and I need to set the transaction timeout for some long running methods. I have tried setting it on an MDB using:
@TransactionManagement(value = TransactionManagementType.CONTAINER)for the class and
@TransactionTimeout(value = 600) @TransactionAttribute(TransactionAttributeType.REQUIRED)on the method. This MDB then calls a SLSB method that is not annotated.
@TransactionManagement(value = TransactionManagementType.CONTAINER) @TransactionAttribute(TransactionAttributeType.REQUIRED)on the SLSB class (which is called from the MDB) and
@TransactionTimeout(value = 600)