Skip to main content


Indicates whether the target sender is open or closed




Boolean — true if the amqpsender is open, otherwise false


Important Note Agent AMQP functionality is now deprecated and will shortly become unsupported. Any attempt to interact with imp API amqp objects and methods on unregistered development devices or on production devices will generate a runtime error.

If you are using or intend to use Azure IoTHub, we recommend you make use of MQTT instead of AMQP. Please see our Azure IoT Hub integration for more information.

This method is used to check whether the amqpsender object is open for the transmission of messages to the AMQP broker or is currently closed. If it is open, the call returns true, otherwise false.