# tibemsConsumerInfo_IsConnectionConsumer

Function

## Purpose

Get whether this is connection consumer.

## C Declaration

    tibems_status tibemsConsumerInfo_IsConnectionConsumer(
        tibemsConsumerInfo consumerInfo,
        tibems_bool* connectionConsumer);

## COBOL Call

    CALL "tibemsConsumerInfo_IsConnectionConsumer"
     USING BY VALUE consumerInfo,
           BY REFERENCE connectionConsumer,
           RETURNING tibems-status
    END-CALL.

## Parameters

Parameter | Description
--- | ---
`consumerInfo` | Get whether this consumer is a connection consumer.
`connectionConsumer` | Store consumer connection status. `TRUE` indicates that the consumer is a connection consumer.

## Remarks

Set the connection status to `TRUE` if the consumer is a connection consumer, and `FALSE` otherwise. Notice that for disconnected durable topic subscribers the function returns `FALSE` even if the durable was created as connection consumer.

Copyright © Cloud Software Group, Inc. All rights reserved.