Skip to main content





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 amqpmessage object represents each AMQP message sent or received by the agent. You can create a new amqpmessage for transmission by calling amqp.createmessage() or amqp.createbinarymessage() as appropriate. Messages received through the callback registered by amqpsession.openreceiver() are provided as amqpmessage objects (by way of amqpdelivery objects).

Member Entities

The amqpmessage object has the following member methods: