tibemsMsgConsumer_GetDestination

Function

Purpose

Get the destination from a message consumer.

C Declaration

tibems_status tibemsMsgConsumer_GetDestination(
    tibemsMsgConsumer msgConsumer,
    tibemsDestination* destination );

COBOL Call

CALL "tibemsMsgConsumer_GetDestination"
     USING BY VALUE msgConsumer,
           BY REFERENCE destination,
           RETURNING tibems-status
END-CALL.
Note: msgConsumer and destination have usage pointer.

Parameters

Parameter Description
msgConsumer Get the destination from this consumer.
destination Store the destination in this location.

Remarks

The consumer consumes messages from this destination.

Programs set this destination when creating the consumer, and cannot subsequently change it.