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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content