Skip to content

Commit

Permalink
feat: add amqp routing information to channelOperation
Browse files Browse the repository at this point in the history
  • Loading branch information
timonback committed Aug 27, 2024
1 parent ff4ce3f commit d8f774b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions amqp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ This object contains information about the channel representation in AMQP.
Field Name | Type | Description
---|:---:|---
<a name="channelBindingObjectIs"></a>`is` | string | Defines what type of channel is it. Can be either `queue` or `routingKey` (default).
<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.
<a name="channelBindingObjectChannelRef"></a>`channel.$ref` | string | When `is`=`routingKey`, this defines the target queue after routing the message (essentially the binding).
<a name="channelBindingObjectExchange"></a>`exchange` | Map[string, any] | When `is`=`routingKey`, this object defines the exchange properties.
<a name="channelBindingObjectExchangeName"></a>`exchange.name` | string | The name of the exchange. It MUST NOT exceed 255 characters long.
<a name="channelBindingObjectExchangeType"></a>`exchange.type` | string | The type of the exchange. Can be either `topic`, `direct`, `fanout`, `default` or `headers`.
Expand All @@ -54,6 +56,9 @@ channels:
bindings:
amqp:
is: routingKey
name: routing.pattern
channel:
$ref: #/components/channels/userSignup
exchange:
name: myExchange
type: topic
Expand Down

0 comments on commit d8f774b

Please sign in to comment.