TIBCO Adapter SDK C++ Reference
MPublisher::preRegisterListener
MPublisher
Preregister an anticipated listener.
Remarks
Some sending applications can anticipate requests for certified delivery even before the listening applications start running. In such situations, the sender can preregister listeners, so TIBCO Rendezvous software begins storing outbound messages in the sender’s ledger. If the listening correspondent requires old messages, it receives the backlogged messages when it requests certified delivery.

If the correspondent with the name rsCertifiedSessionName is already receiving certified delivery of this sender’s subject (from any sender of the session), then this method has no effect.

If you change the subject for a publisher using MPublisher::setDestinationName(), the publisher with the new subject will be unaware of any pre-registration done previously through the API or TIBCO Repository adapter instance description object.

Parameters
Parameters Description
const MString& rsCertifiedSessionName Anticipate a listener with this reusable name.
Exceptions
M_ERROR_RV_ERROR
Declaration
void preRegisterListener(const MString& rsCertifiedSessionName) throw(MException);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.