IPWorks IoT 2020 JavaScript Edition

Questions / Feedback?

Message Property

The message to send.

Syntax


 getMessage(): AMQPMessage;

 setMessage(message: AMQPMessage): void;

Default Value

Remarks

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!";
amqp.SendMessage("SenderLinkName");

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]