Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 9 Session : tibemsSession : tibemsSession_Unsubscribe

tibemsSession_Unsubscribe
Function
Purpose
Unsubscribe a durable topic subscription.
C Declaration
tibems_status tibemsSession_Unsubscribe(
    tibemsSession session
    const char* name );
COBOL Call
CALL "tibemsSession_Unsubscribe"
USING BY VALUE session,
BY REFERENCE name,
RETURNING tibems-status
END-CALL.
 
session has usage pointer.
Parameters
 
Remarks
This function deletes the subscription from the server.
 
You must unsubscribe before closing the session.
It is illegal to delete a subscription while one of its messages is either unacknowledged, or uncommitted (in the current transaction). Attempting to do so results in a status of TIBEMS_EXCEPTION.
See Also
tibemsMsgConsumer on page 162
tibemsTopic on page 156
tibemsSession_CreateDurableSubscriber on page 295

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved