Coordinator::get_transaction_name

Overview Supports debugging by returning a string describing the transaction associated with the target object.
Original interface CosTransactions::Coordinator Interface


Intended Usage

Returns a printable string describing the transaction. If there is no transaction associated with the current thread, an empty string is returned.

Syntax

  string get_transaction_name();

Input parameters

None.

Return values

string
A string describing the transaction associated with the target object.

Examples

The following examples demonstrate the usage of CosTransactions::Coordinator::get_transaction_name.

C++ Example

  CosTransactions::Coordinator *coord;
  string name;
  name = coord->get_transaction_name();
  cout << "Transaction name is " << name << endl;
 

Related reference
CosTransactions in the transaction service



Searchable topic ID:   rcor_ctsco5
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_ctsco5.html

Library | Support | Terms of Use | Feedback