IPWorks IoT 2020 JavaScript Edition

Questions / Feedback?

MessageOut Event

Fires when the class sends a message.

Syntax

amqp.on('MessageOut', listener: (e: {readonly sessionName: string, readonly sessionIndex: number, readonly linkName: string, readonly linkIndex: number, readonly messageId: string}) => void )

Remarks

This event fires whenever the class sends a message.

SessionName is the name of the session the message was transmitted on.

SessionIndex is the index of the session in the Session* properties.

LinkName is the name of the link the message was transmitted on.

LinkIndex is the index of the link in the Link* properties.

MessageId is the Id of the message; it may be empty if a message Id was not set.

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