TIBCO Adapter SDK C++ Reference
|
This method works only with asynchronous sessions because a timer is involved.
The SDK serializes the MTree so its format is suitable for network transmissions.
This method creates an inbox and its associated subscriber and links it to the caller in the last parameter. It supersedes any reply subject set by the user.
If you want to set a reply subject and broadcast replies to other subscriber, use the methods MPublisher::setReplySubject(), MPublisher::setReplySubject(), and MPublisher::send() instead.
If a call to this method fails, the publisher signals an exception.
The publisher explicitly has to delete the subscription passed in as an MSubscriber pointer.
If you use this method, the reply is sent point to point. In contrast, the reply is broadcast if you use send() and setReplySubject().
If the message is sent over CM transport then the reply message is not certified.
void sendWithReply(const MData& rData, MEventListener * pEventListener, unsigned long iTimeout, MSubscriber * & pSubscriber) throw(MException);