IPWorks IoT 2020 Android Edition

Questions / Feedback?

MessageOut Event

Fires when the component sends a message.

Syntax

public class DefaultAmqpEventListener implements AmqpEventListener {
  ...
  public void messageOut(AmqpMessageOutEvent e) {}
  ...
}

public class AmqpMessageOutEvent {
  public String sessionName;
  public int sessionIndex;
  public String linkName;
  public int linkIndex;
  public String messageId;
}

Remarks

This event fires whenever the component sends a message.

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

SessionIndex is the index of the session in the Sessions collection property.

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

LinkIndex is the index of the link in the Links collection property.

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 Android Edition - Version 20.0 [Build 8265]