Open topic with navigation

TIBCO Rendezvous® 8.8.0

# TibrvCmListener::confirmMsg()

Method

## Declaration

    TibrvStatus confirmMsg(
        const TibrvMsg& msg);

## Purpose

Explicitly confirm delivery of a certified message.

## Remarks

Use this method only in programs that override automatic confirmation (see TibrvCmListener::setExplicitConfirm()). The default behavior of certified listeners is to automatically confirm delivery when the callback method returns.

Parameter | Description
`message` | Confirm receipt of this message.

## Unregistered Message

When a CM listener receives a labeled message, its behavior depends on context:

| • | If a CM listener is registered for certified delivery, it presents the supplementary information to the callback method. If the sequence number is present, then the receiving program can confirm delivery.

| • | If a CM listener is not registered for certified delivery with the sender, it presents the sender’s name to the callback method, but omits the sequence number. In this case, the receiving program cannot confirm delivery; TibrvCmListener::confirmMsg() returns the status code TIBRV_NOT_PERMITTED.

Notice that the first labeled message that a program receives on a subject might not be certified; that is, the sender has not registered a certified delivery agreement with the listener. If appropriate, the certified delivery library automatically requests that the sender register the listener for certified delivery. (See Discovery and Registration for Certified Delivery in TIBCO Rendezvous Concepts.)

A labeled but uncertified message can also result when the sender explicitly disallows or removes the listener.

## See Also

TibrvCmListener

TibrvCmListener::setExplicitConfirm()

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-2025. Cloud Software Group, Inc. All Rights Reserved.