Skip to main content

amqpsession

Availability

Agent

Description

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.


The amqpsession object provides the agent with the ability to send and receive AMQP messages. All amqpsession objects are created by calling amqpconnection.opensession().

amqpsession objects are automatically closed when they are deallocated, which occurs (also automatically) when they go out of scope. To manually close an amqpsession, it must be deallocated by setting it to null.

Member Entities

The amqpsession object has the following member methods: