Copyright © TIBCO Software Inc. All Rights Reserved

> tibemsConsumerInfo_GetDurableName
> Function
> Purpose
> Get the name of the consumer's durable subscription.
> C Declaration
> tibems_status tibemsConsumerInfo_GetDurableName(
> tibemsConsumerInfo consumerInfo,
> char* name,
> tibems_int name_len);
> COBOL Call
> CALL "tibemsConsumerInfo_GetDurableName"
> USING BY VALUE consumerInfo,
> BY REFERENCE durableName,
> BY VALUE name_len,
> RETURNING tibems-status
> END-CALL.
> Parameters

> Parameter | Description
> consumerInfo | Get the subscription of this consumer.
> name | The function stores to the durable name in this location.
> name_len | The length of the name buffer.

> Remarks
> This function returns the name of the consumer's durable subscription. Only durable topic consumers have a durable name. The function returns NULL if the consumer is a non-durable topic subscriber or a queue receiver.

Copyright © TIBCO Software Inc. All Rights Reserved