Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AmqpSenderOptions

Configures the AMQP Sender.

Hierarchy

  • AmqpSenderOptions

Index

Constructors

constructor

Methods

addCapability

  • Adds a capability to be set on the sender target terminus.

    Parameters

    • capabilitys: string

    Returns AmqpSenderOptions

getCapabilities

  • getCapabilities(): string[]
  • Sets the list of capabilities to be set on the sender target terminus.

    Returns string[]

getLinkName

  • getLinkName(): string
  • Returns string

isAutoDrained

  • isAutoDrained(): boolean
  • Sets whether the link is automatically marked drained after the send queue drain handler callback returns if the receiving peer requested that credit be drained.

    true by default.

    Returns boolean

isDynamic

  • isDynamic(): boolean
  • Sets whether the Target terminus to be used should specify it is 'dynamic', requesting the peer creates a node and names it with a generated address.

    The address provided by the peer can then be inspected using the {@link AmqpSender#address} method on the AmqpSender received once opened.

    Returns boolean

setAutoDrained

  • Sets whether the link is automatically marked drained after the send queue drain handler callback returns if the receiving peer requested that credit be drained.

    true by default.

    Parameters

    • autoDrained: boolean

    Returns AmqpSenderOptions

setCapabilities

  • Sets the list of capabilities to be set on the sender target terminus.

    Parameters

    • capabilities: string[]

    Returns AmqpSenderOptions

setDynamic

  • Sets whether the Target terminus to be used should specify it is 'dynamic', requesting the peer creates a node and names it with a generated address.

    The address provided by the peer can then be inspected using the {@link AmqpSender#address} method on the AmqpSender received once opened.

    Parameters

    • dynamic: boolean

    Returns AmqpSenderOptions

setLinkName

  • Parameters

    • linkName: string

    Returns AmqpSenderOptions

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc