Reads messages from RabbitMQ queues.
Path | Type | Description |
---|---|---|
exchangeName | string | The exchange that contains the queue |
queueName | string | If specified, the trigger reads messages from this queue |
topics | list of strings | If specified, the trigger creates a queue with a unique name and subscribes it to these topics |
Note:
topics
andqueueName
are mutually exclusive. The trigger can either create to an existing queue specified byqueueName
or create its own queue, subscribing it totopics
triggers:
myNatsTopic:
kind: "rabbit-mq"
url: "amqp://user:[email protected]:5672"
attributes:
exchangeName: "myExchangeName"
queueName: "myQueueNameName"