1. Create a tibemsSession, and use it to create either a tibemsQueue or tibemsTopic (respectively) for requests and replies.
2.
3. Call tibemsMsgRequestor_Request to send a request and receive a reply. You may repeat this step for several request and reply pairs.
4. Close the requestor object. tibemsMsgRequestor_Close also closes the requestor’s session as a side effect.
tibems_status tibemsMsgRequestor_Close(tibemsMsgRequestor msgRequestor );
msgRequestor has usage pointer.
tibems_status tibemsMsgRequestor_Create(tibemsSession session,tibemsMsgRequestor* msgRequestor,tibemsDestination destination);
This session must not use transaction semantics. Its delivery mode must be either TIBEMS_AUTO_ACKNOWLEDGE or TIBEMS_DUPS_OK_ACKNOWLEDGE. The requestor sends request messages to this destination, and waits for replies on an internally created temporary destination.If the destination that request messages are sent to is a queue, then an internal temporary queue is created and used. If the destination that request messages are sent to is a topic, then an internal temporary topic is created and used.You must create this destination using the session you supply as the first argument.
1.
2. Create a tibemsMsgRequestor, using the session and destination as arguments.
3. Send a request and receive a reply with tibemsMsgRequestor_Request. You may repeat this step for several request and reply pairs.
4. Close the requestor object. tibemsMsgRequestor_Close also closes the requestor’s session as a side effect.tibems_status tibemsMsgRequestor_Request(tibemsMsgRequestor msgRequestor,tibemsMsg message,tibemsMsg* reply );
When a reply message arrives, the function stores it in this location.
Copyright © TIBCO Software Inc. All Rights Reserved.