Open topic with navigation

TIBCO Rendezvous® 8.8.0

# TibrvMsg::isDetached()

Method

## Declaration

    tibrv_bool isDetached();

## Purpose

Determine the ownership of the message.

## Remarks

Ownership of a message belongs either to Rendezvous software, or to your program.

When Rendezvous software owns a message, the message is considered attached. Rendezvous software automatically destroys the message and reclaims its storage. For example, Rendezvous software creates an object representing an inbound message, and presents it as a parameter to a listener callback method; when the callback method returns, Rendezvous software destroys the message.

A program can explicitly detach an inbound message. Thereafter, the program owns the message, and assumes the responsibility to destroy it and reclaim its storage.

When a program creates a message object, the program owns that message, along with the responsibility to destroy it.

This method determines the ownership of a message. It returns `TIBRV_TRUE` when the program owns the message; it returns `TIBRV_FALSE` when Rendezvous software owns the message.

## See Also

TibrvMsg::detach()

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.