WebSphere WebSphere Enterprise Service Bus, Version 6.0.1 作業系統: AIX, HP-UX, Linux, Solaris, Windows

查詢交易模式

事件來源可以查詢發射器所使用的交易模式。

執行這項作業的原因和時機

註: 只有在 J2EE 儲存器中才支援交易。

這項作業的步驟

如果要查詢現行交易模式,請使用 getTransactionMode() 方法。
int transactionMode = emitter.getTransactionMode();
傳回的值是一個對應於其中一個交易模式常數的整數:
  • TransactionMode.NEW
  • TransactionMode.SAME

Task topic

使用條款 | 此頁的評等

「時間戳記」圖示前次更新: 5 Mar 2006
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic=/com.ibm.websphere.wesb.doc.nl1_6.0.1\doc\tcei_admin_queryTransactionMode.html

(C) Copyright IBM Corporation 2005. All Rights Reserved.
本資訊中心採用 Eclipse 技術。(http://www.eclipse.org)