IPWorks MQ 2020 Kotlin Edition

Questions / Feedback?

MessageOut Event

Fires when the component sends a message.

Syntax

public open class DefaultAmqpEventListener : AmqpEventListener {
  ...
  public override fun messageOut(e: AmqpMessageOutEvent) {}
  ...
}

public class AmqpMessageOutEvent {
  val sessionName: String?
  val sessionIndex: Int
  val linkName: String?
  val linkIndex: Int
  val messageId: String?
}

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) 2021 /n software inc. - All rights reserved.
IPWorks MQ 2020 Kotlin Edition - Version 20.0 [Build 7941]