How to configure transaction timeout for specific MDB in JBoss

Solution Verified - Updated -

Issue

  • A MDB does not seem to work with @TransactionTimeout annotation.
  • @TransactionTimeoutannotation does not work for MDB.
  • I tried adding the following annotation to MDB but it does not work:

    @TransactionTimeout(3000)
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x (Artemis)
    • 6.x (HornetQ)
  • Red Hat AMQ (AMQ)
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In