Function
Create a topic requestor.
tibems_status
tibemsTopicRequestor_Create(tibemsTopicSession
session,tibemsMsgRequestor
* msgRequestor,tibemsTopic
topic );
CALL "tibemsTopicRequestor_Create" USING BY VALUE session, BY REFERENCE msgRequestor, BY VALUE topic, RETURNING tibems-status END-CALL.
Parameter
|
Description
|
---|---|
session
|
The requestor operates within this topic session.
This session must not use transaction semantics. Its delivery mode must be either
TIBEMS_AUTO_ACKNOWLEDGE or TIBEMS_DUPS_OK_ACKNOWLEDGE .
|
msgRequestor
|
The function stores the new requestor in this location.
|
topic
|
The requestor sends request messages to this topic, and waits for replies on the same topic.
You must create this topic using the topic session you supply as the first argument.
|
We recommend that programs follow these steps:
tibemsTopicSession
, and use it to create a tibemsTopic
for requests and replies.TopicRequestor
, using the topic session and topic as arguments.tibemsMsgRequestor_Close
also closes the requestor’s session as a side effect.
TIBCO Enterprise Message Service™ C and COBOL Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |