You set up the transaction context that indicates the scope of the transactions that invoke the Message-driven Bean message listener and the timeout callback method.
If you use the CMT for transaction management, specify the NOT_SUPPORTED attribute.
Note that if the Message-driven Bean using the BMT manages transactions with the javax.transaction.UserTransaction interface, the receiving of messages is not included in the transaction processing.