tibemsConnection_CreateSession


Function

Purpose

Create a session object.

C Declaration

tibems_status tibemsConnection_CreateSession( 
    tibemsConnection connection, 
    tibemsSession* session, 
    tibems_bool transacted, 
    tibemsAcknowledgeMode acknowledgeMode ); 

COBOL Call

CALL "tibemsConnection_CreateSession" 
     USING BY VALUE connection, 
           BY REFERENCE session, 
           BY VALUE transacted, 
           BY VALUE acknowledgeMode, 
           RETURNING tibems-status 
END-CALL. 

connection and session have usage pointer.

Remarks

The new session uses the connection for all server communications.

Parameter
Description
connection
Create a session on this connection.
session
The function stores the new session in this location.
transacted
When true, the new session has transaction semantics.
When false, it has non-transaction semantics.
acknowledgeMode
This parameter determines the acknowledge mode of the session.
Supply a value enumerated by tibemsAcknowledgeMode.

See Also

tibemsMsg_Acknowledge

tibemsSession

tibemsAcknowledgeMode


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