tibemsXAResource_SetTransactionTimeout


Function

Purpose

Set the timeout limit.

C Declaration

tibems_status tibemsXAResource_SetTransactionTimeout( 
    tibemsXAResource xaResource, 
    tibems_int seconds ); 

COBOL Call

CALL "tibemsXAResource_SetTransactionTimeout" 
     USING BY VALUE xaResource, 
           BY VALUE seconds, 
           RETURNING tibems-status 
END-CALL. 

xaResource has usage pointer.

Parameter
Description
xaResource
Set the transaction timeout of this resource.
seconds
Use this transaction timeout (in seconds).

Remarks

If an unprepared transaction does not log any activity on the server for this length of time, then the server automatically rolls back the transaction.

See Also

tibemsXAResource_GetTransactionTimeout


TIBCO Enterprise Message Service™ C and COBOL Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com