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.

Remarks

This function deletes the subscription from the server.

You must unsubscribe before closing the session.
It is illegal to delete an active subscription—that is, while a tibemsMsgConsumer or tibemsTopicSubscriber exists.

It is illegal to delete a subscription while one of its messages is either unacknowledged, or uncommitted (in the current transaction).xxxxxxx

Parameter
Description
session
Delete a subscription in this session.
name
This name lets the server locate the subscription.

See Also

tibemsMsgConsumer

tibemsTopicSubscriber

tibemsTopic

tibemsSession_CreateDurableSubscriber


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