TIBCO Adapter SDK C++ Reference
MPublisher::sendWithSyncReply
MPublisher
Allow publishing with a synchronous reply.
Remarks
The method sends a request expecting a reply to come back within a certain amount of time. The reply is returned synchronously as the value of the method. If the method times out, it returns false.
Note
Do not use this method from within a callback. If it causes a timeout, you might lose TIBCO Rendezvous messages otherwise.
Parameters
Parameters Description
const MTree & requestTree MTree instance that the publisher will send to TIBCO Rendezvous.
MTree & replyTree MTree instance returned.
unsigned long iTimeout Timeout value in milliseconds. 0 means the method does not time out.

If the method times out, it returns false.

Exceptions
M_ERROR_RV_ERROR
Declaration
Mboolean sendWithSyncReply(const MTree & requestTree, MTree & replyTree, unsigned long iTimeout) throw(MException);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.