WebSphere WebSphere Enterprise Service Bus, Version 6.0.1 Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Querying the transaction mode

An event source can query the transaction mode being used by an emitter.

Why and when to perform this task

Note: Transactions are supported only in a J2EE container.

Steps for this task

To query the current transaction mode, use the getTransactionMode() method.
int transactionMode = emitter.getTransactionMode();
The returned value is an integer corresponding to one of the transaction mode constants:
  • TransactionMode.NEW
  • TransactionMode.SAME

Task topic

Terms of Use | Rate this page

Timestamp iconLast updated: 13 Dec 2005
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic=/com.ibm.websphere.wesb.doc\doc\tcei_admin_queryTransactionMode.html

(C) Copyright IBM Corporation 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)