MDB are a type of Enterprise Beans that are able to asynchronously deliver messages sent by any JMS producer. In this tutorial we wil learn how to develop and deploy a Message Driven Bean on the top of WildFly Application Server or JBoss EAP.
How can I retrieve the id of a Transaction started by JBoss ?
Sometimes it an be useful for debugging purpose to retrieve the id of a transaction; one typical scenario could be a transaction started by an EJB deployed as CMT. The javax.transaction.TransactionManager interface provides two ways to fetch the transaction id: The simplest strategy is to call the toString method to print complete information about the running … Read more