tibemsTopicSession_Unsubscribe


Function

Purpose

Delete a subscription.

This call is identical to tibemsSession_Unsubscribe .

C Declaration

tibems_status tibemsTopicSession_Unsubscribe( 
    tibemsTopicSession session, 
    const char* name); 

COBOL Call

CALL "tibemsTopicSession_Unsubscribe" 
     USING BY VALUE session, 
           BY REFERENCE name, 
           RETURNING tibems-status 
END-CALL. 

session have usage pointer.

Parameter
Description
session
Delete a subscription in this session.
name
Delete this subscriber from the server.

Remarks

This call 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).

See Also

tibemsTemporaryQueue


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