Copyright © TIBCO Software Inc. All Rights Reserved

> tibemsMsg_SetReplyTo
> Function
> Purpose
> Set the reply-to header of a message.
> C Declaration
> tibems_status tibemsMsg_SetReplyTo(
> tibemsMsg message,
> tibemsDestination value );
> COBOL Call
> CALL "tibemsMsg_SetReplyTo"
> USING BY VALUE message,
> BY VALUE value,
> RETURNING tibems-status
> END-CALL.

> | message and value have usage pointer.

> Parameters

> Parameter | Description
> message | Set the reply-to header of this message.
> value | Set the reply-to header to this value.

> Remarks
> Sending clients can set this header to request that recipients reply to the message:

> • | When the value is a destination object, recipients can send replies to that destination. Such a message is called a request.

> • | When the value is null, the sender does not expect a reply.

> When sending a reply, clients can refer to the corresponding request by setting the correlation ID field.
> See Also
> tibemsMsg_GetReplyTo on page 50
> tibemsMsg_SetCorrelationID on page 58

Copyright © TIBCO Software Inc. All Rights Reserved