DeclareExchange DeclareExchange

type: "io.kestra.plugin.amqp.DeclareExchange"

Create an Exchange

# Examples

id: "declare_exchange"
type: "io.kestra.plugin.amqp.DeclareExchange"
url: amqp://guest:guest@localhost:5672/my_vhost
name: kestramqp.exchange

# Properties

# args

  • Type: object
  • Dynamic:
  • Required:

Other properties (construction arguments) for the exchange

# autoDelete

  • Type: boolean
  • Dynamic:
  • Required:
  • Default: false

True if the server should delete the exchange when it is no longer in use

# durability

  • Type: boolean
  • Dynamic:
  • Required:
  • Default: true

True if we are declaring a durable exchange (the exchange will survive a server restart)

# exchangeType

  • Type: string

  • Dynamic:

  • Required:

  • Default: DIRECT

  • Possible Values:

    • DIRECT
    • FANOUT
    • TOPIC
    • HEADERS

The exchange type

# internal

  • Type: boolean
  • Dynamic:
  • Required:
  • Default: false

True if the exchange is internal, i.e. can't be directly published to by a client.

# name

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The name of the exchange

# url

  • Type: string
  • Dynamic: ✔️
  • Required:

The connection string

# Outputs

# exchange

  • Type: string

Exchange name