From b859f1442d283fd4d57880d8af9eec5e738e0098 Mon Sep 17 00:00:00 2001 From: Timon Back Date: Mon, 28 Oct 2024 19:31:27 +0100 Subject: [PATCH] feat: improve amqp binding description --- amqp/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/amqp/README.md b/amqp/README.md index 9cda8229..5bc9e088 100644 --- a/amqp/README.md +++ b/amqp/README.md @@ -30,7 +30,8 @@ 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). +`channel` | Map[string, any] | When `is`=`routingKey`, this defines the destination amqp queue. +`channel.$ref` | string | When `is`=`routingKey`, this defines an AsyncAPI channel `$ref` pointer to the destination amqp queue. `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`.