# tibemsMsgConsumer_GetNoLocal

Function

## Purpose

Get the no local property of a message consumer.

## C Declaration

    tibems_status tibemsMsgConsumer_GetNoLocal(
        tibemsMsgConsumer msgConsumer,
        tibems_bool* noLocal );

## COBOL Call

    CALL "tibemsMsgConsumer_GetNoLocal"
         USING BY VALUE msgConsumer,
               BY REFERENCE noLocal,
               RETURNING tibems-status
    END-CALL.

Note: `msgConsumer` has usage pointer.

## Parameters

Parameter | Description
--- | ---
`msgConsumer` | Get the property from this consumer.
`noLocal` | Store the property value in this location.

## Remarks

When true, the consumer does not receive messages sent through the same server connection (that is, the connection associated with the consumer).

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

This property is only associated with topics, and does not apply to queues.

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