How does EJB bean transaction timeout behave with sleep

Solution Unverified - Updated -

Issue

  • We are trying to understand what happens with EJB timeouts.

  • if we set a default timeout for the transaction subsystem does this control EJB timeouts?

  • If we have a Thread.sleep in an EJB that is longer than the default transaction timeout what would be the behaviour?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.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