Agent AMQP functionality is currently only available to development devices. Any attempt to interact with imp API amqpmessage objects and methods 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).
The amqpmessage object has the following member methods: