DeclareExchange
Create an exchange.
yaml
type: "io.kestra.plugin.amqp.DeclareExchange"
yaml
id: amqp_declare_exchange
namespace: company.team
tasks:
- id: declare_exchange
type: io.kestra.plugin.amqp.DeclareExchange
url: amqp://guest:guest@localhost:5672/my_vhost
name: kestramqp.exchange
Dynamic
YES
The name of the exchange.
Dynamic
YES
Other properties (construction arguments) for the exchange.
Dynamic
YES
Default
false
Specify if the server should delete the exchange when it is no longer in use.
Dynamic
YES
Default
true
Specify if we are declaring a durable exchange (the exchange will survive a server restart).
Dynamic
YES
Default
DIRECT
Possible Values
DIRECT
FANOUT
TOPIC
HEADERS
The exchange type.
Dynamic
YES
The broker host.
Dynamic
YES
Default
false
Specify if the exchange is internal, i.e. can't be directly published to by a client.
Dynamic
YES
The broker password.
Dynamic
YES
The broker port.
Dynamic
YES
The broker username.
Dynamic
YES
The broker virtual host.
The exchange name.