tibrvMsg_SetReplySubject()

Function

Declaration

tibrv_status tibrvMsg_SetReplySubject(
    tibrvMsg        message,
    const char*     replySubject);

Purpose

Set the reply subject for a message.

Remarks

Recipients of a message can use its reply subject as the address for return messages.

Rendezvous routing daemons modify subjects and reply subjects to enable transparent point-to-point communication across network boundaries. This modification does not apply to subject names stored in message data fields; we discourage storing point-to-point subject names in data fields.

Parameter

Description

message

Set the reply subject of this message.

replySubject

Use this string as the new reply subject.

The function copies this string to the message.

The empty string is not a legal subject name.

Subject Name Length

The constant TIBRV_SUBJECT_MAX determines the longest possible subject name.

See Also

tibrvMsg_GetReplySubject()

Supplementary Information for Messages in TIBCO Rendezvous Concepts