Open topic with navigation

TIBCO Rendezvous® 8.7.0

# TibrvMsgCallback::onMsg()

Method

## Declaration

    virtual void onMsg(TibrvListener* listener, TibrvMsg& msg) = 0;

## Purpose

Process inbound messages (listener events).

## Remarks

Implement this method to process inbound messages.

Parameter | Description
`listener` | This parameter receives the listener event.
`msg` | This parameter receives the inbound message.

## CM Label Information

The callback method for certified delivery messages can use certified delivery (CM) label information to discriminate among these situations:

| • | If TibrvCmMsg::getSender() returns status code TIBRV_NOT_FOUND, then the message uses the reliable protocol (that is, it was sent from an ordinary transport).

| • | If TibrvCmMsg::getSender() returns a valid sender name, then the message uses the certified delivery protocol (that is, it is a labeled message, sent from a CM transport).

## See Also

TibrvCmListener::create()

TibrvCmMsg::getSender()

TibrvCmMsg::getSequence()

TibrvCmMsg::getTimeLimit()

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.