Open topic with navigation

TIBCO Rendezvous® 8.7.0

# TibrvMsg::getSendSubject()

Method

## Declaration

    TibrvStatus getSendSubject(const char*& sendSubject);

## Purpose

Extract the subject from a message.

## Remarks

The subject string is part of a message’s address information—it is not part of the message itself.

If the destination subject is not set, this method passes `NULL` in the return parameter.

Parameter | Description
`sendSubject` | The program supplies a variable in this parameter; the method stores the send subject in that variable. The method makes a snapshot copy of the subject string, and supplies a pointer to that snapshot within message storage. The pointer remains valid as long as the message itself remains valid in the same location. The subject pointer becomes invalid if the program destroys the message, or returns from the data callback method that determines the scope of an inbound message. For more information, see Pointer Snapshot, and Deleting Snapshot References.

## See Also

TibrvMsg::setSendSubject()

Supplementary Information for Messages in TIBCO Rendezvous Concepts

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.