Function
Create a topic subscriber.
tibems_status
tibemsTopicSession_CreateSubscriber(
tibemsTopicSession
session,
tibemsTopicSubscriber
* topicSubscriber,
tibemsTopic
topic, const char* messageSelector,
tibems_bool
noLocal
);
CALL "tibemsTopicSession_CreateSubscriber" USING BY VALUEsession
, BY REFERENCEtopicSubscriber
, BY VALUEtopic
, BY REFERENCE messageSelector, BY VALUEnoLocal
, RETURNING tibems-status END-CALL.
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.
|
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 locallythat is, messages sent through the same connection.
When
false , the subscriber receives messages with local origin.
|
TIBCO Enterprise Message Service™ C and COBOL Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |