Skip to main content


Indicates whether the target connection is open or closed




Boolean — true if the amqpconnection is open, otherwise false


Important Note Agent AMQP functionality is currently only available to new devices’ agents upon request. Any attempt to interact with imp API amqp objects and methods on un-requested development or on production devices will generate a runtime error.

This method can be used to check whether the connection that the target amqpconnection object is maintaining is open or closed. If the connection is open, the call returns true. The call can be used check on the state of the connection before executing code that depends on the connection being open and will fail if it is not.