Skip to content

Commit d8f774b

Browse files
committed
feat: add amqp routing information to channelOperation
1 parent ff4ce3f commit d8f774b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

amqp/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ This object contains information about the channel representation in AMQP.
2929
Field Name | Type | Description
3030
---|:---:|---
3131
<a name="channelBindingObjectIs"></a>`is` | string | Defines what type of channel is it. Can be either `queue` or `routingKey` (default).
32+
<a name="channelBindingObjectName"></a>`name` | string | When `is`=`routingKey`, this defines the actual routing pattern to route the message from the exchange to the queue.
33+
<a name="channelBindingObjectChannelRef"></a>`channel.$ref` | string | When `is`=`routingKey`, this defines the target queue after routing the message (essentially the binding).
3234
<a name="channelBindingObjectExchange"></a>`exchange` | Map[string, any] | When `is`=`routingKey`, this object defines the exchange properties.
3335
<a name="channelBindingObjectExchangeName"></a>`exchange.name` | string | The name of the exchange. It MUST NOT exceed 255 characters long.
3436
<a name="channelBindingObjectExchangeType"></a>`exchange.type` | string | The type of the exchange. Can be either `topic`, `direct`, `fanout`, `default` or `headers`.
@@ -54,6 +56,9 @@ channels:
5456
bindings:
5557
amqp:
5658
is: routingKey
59+
name: routing.pattern
60+
channel:
61+
$ref: #/components/channels/userSignup
5762
exchange:
5863
name: myExchange
5964
type: topic

0 commit comments

Comments
 (0)