Function
Create a queue requestor.
tibems_status
tibemsQueueRequestor_Create(tibemsQueueSession
session,tibemsMsgRequestor
* msgRequestor,tibemsQueue
queue );
CALL "tibemsQueueRequestor_Create" USING BY VALUE session, BY REFERENCE msgRequestor, BY VALUE queue, RETURNING tibems-status END-CALL.
Parameter
|
Description
|
---|---|
session
|
The requestor operates within this queue 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.
|
queue
|
The requestor sends request messages to this queue, and waits for replies on the same queue.
You must create this queue using the queue session you supply as the first argument.
|
We recommend that programs follow these steps:
tibemsQueueSession
, and use it to create a tibemsQueue
for requests and replies.tibemsMsgRequestor
, using the queue session and queue as arguments.tibemsMsgRequestor_Request
. You may repeat this step for several request and reply pairs.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 |