AMQPLink Type

Represents an AMQP link.

Remarks

This type represents an AMQP link.

Fields

available
Int64

The number of messages which this link's sender could send if it had credit for them.

This property returns the number of messages which this link's sender has indicated that it could send if it had the credit to do so.

channelName
String

The channel name this link is using.

This property holds the channel name this link is using.

credit
Int64

The amount of credit currently available to this link's sender.

This property holds the amount of credit currently available to this link's sender. The sender on a link can only send messages if it has non-zero credit.

deliveryCount
Int64

The current delivery count value for this link.

This property holds the current delivery count value for this link.

name
String

This link's name.

This property holds this link's name.

readyToSend
Bool

Whether this link is ready to send a message.

This property reflects whether this link is currently ready to send a message or not; it always returns False if Role is lrReceiver (1).

receiveMode
AMQPLinkReceiveModes

The receive mode this link is operating in.

This property reflects the receive mode which this link is operating in, if it is a receiver link. (For sender links, this property's value means nothing.) Values can be:

  • lrmAutomatic - Messages will be received automatically
  • lrmFetch - One message will be received after each call to the FetchMessage method.

Refer to ReceiveMode for more information.

role
Roles

The class's role on this link.

This property reflects which role the class is in for this link. Valid values are:

  • lrSender (0)
  • lrReceiver (1)

Constructors

public init()

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 macOS Edition - Version 20.0 [Build 8155]