tibemsTopicSession_CreateDurableSubscriber


Function

Purpose

Create a durable topic subscriber.

C Declaration

tibems_status tibemsTopicSession_CreateDurableSubscriber( 
    tibemsTopicSession session, 
    tibemsTopicSubscriber* topicSubscriber, 
    tibemsTopic topic, 
    const char* subscriberName, 
    const char* messageSelector, 
    tibems_bool noLocal ); 

COBOL Call

CALL "tibemsTopicSession_CreateDurableSubscriber" 
     USING BY VALUE session, 
           BY REFERENCE topicSubscriber, 
           BY VALUE topic, 
           BY REFERENCE subscriberName, 
           BY REFERENCE messageSelector, 
           BY VALUE noLocal, 
           RETURNING tibems-status 
END-CALL. 

session, topicSubscriber and topic have usage pointer.

Parameter
Description
session
Create the subscriber in this session.
topicSubscriber
The function stores the new subscriber object in this location.
topic
Create a subscriber for this topic.
subscriberName
Create a subscription in the server with this name.
messageSelector
When non-null, the server filters messages using this selector, so the subscriber receives only matching messages; see Message Selectors.
When null, or the empty string, the subscriber receives messages without filtering.
noLocal
When true, the server filters messages so the subscriber does not receive messages that originate locally—that is, messages sent through the same connection.
When false, the subscriber receives messages with local origin.

See Also

tibemsTopic

tibemsTopicSubscriber


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