Open topic with navigation

TIBCO Rendezvous® 8.7.0

# TibrvCmListener.setExplicitConfirm()

Method

## Declaration

    void setExplicitConfirm()
      throws TibrvException

## Purpose

Override automatic confirmation of delivery for this listener.

## Remarks

The default behavior of certified listeners is to automatically confirm delivery when the callback method returns (see TibrvMsgCallback.onMsg()). This call selectively overrides this behavior for this specific listener (without affecting other listeners).

By overriding automatic confirmation, the listener assumes responsibility to explicitly confirm each inbound certified message by calling TibrvCmListener.confirmMsg().

Consider overriding automatic confirmation when the processing of inbound messages involves activity that is asynchronous with respect to the message callback method; for example, computations in other threads or additional network communications.

No method exists to restore the default behavior—that is, to reverse the effect of this method.

## See Also

TibrvCmListener

TibrvMsgCallback.onMsg()

TibrvCmListener.confirmMsg()

TibrvCmListener.isExplicitConfirm()

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.