From d8f774b6409559a29c35604925910726b8b7658e Mon Sep 17 00:00:00 2001 From: Timon Back Date: Tue, 27 Aug 2024 18:25:12 +0200 Subject: [PATCH] feat: add amqp routing information to channelOperation --- amqp/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/amqp/README.md b/amqp/README.md index 6f2781b6..bce1ab41 100644 --- a/amqp/README.md +++ b/amqp/README.md @@ -29,6 +29,8 @@ This object contains information about the channel representation in AMQP. Field Name | Type | Description ---|:---:|--- `is` | string | Defines what type of channel is it. Can be either `queue` or `routingKey` (default). +`name` | string | When `is`=`routingKey`, this defines the actual routing pattern to route the message from the exchange to the queue. +`channel.$ref` | string | When `is`=`routingKey`, this defines the target queue after routing the message (essentially the binding). `exchange` | Map[string, any] | When `is`=`routingKey`, this object defines the exchange properties. `exchange.name` | string | The name of the exchange. It MUST NOT exceed 255 characters long. `exchange.type` | string | The type of the exchange. Can be either `topic`, `direct`, `fanout`, `default` or `headers`. @@ -54,6 +56,9 @@ channels: bindings: amqp: is: routingKey + name: routing.pattern + channel: + $ref: #/components/channels/userSignup exchange: name: myExchange type: topic