IPWorks IoT 2020 JavaScript Edition

Questions / Feedback?

Message Property

The message to send.


 getMessage(): AMQPMessage;

 setMessage(message: AMQPMessage): void;

Default Value


This property holds an amqpmessage object whose fields are used to construct a message to send when SendMessage is called.

Refer to SendMessage for more information.

amqp.Message.ValueType = AMQPValueTypes.mvtString;
amqp.Message.Value = "Hello World!";

This property is not available at design time.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 JavaScript Edition - Version 20.0 [Build 8265]