Skip to content

Commit

Permalink
docs: fix incorrect example for AMQP (asyncapi#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni authored Feb 12, 2024
1 parent aa8cafd commit 06c8faf
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions amqp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ channels:
bindings:
amqp:
is: routingKey
queue:
name: my-queue-name
durable: true
exclusive: true
autoDelete: false
vhost: /
exchange:
name: myExchange
type: topic
Expand All @@ -69,6 +63,21 @@ channels:
bindingVersion: 0.3.0
```
```yaml
channels:
userSignup:
address: 'user/signup'
bindings:
amqp:
is: queue
queue:
name: my-queue-name
durable: true
exclusive: true
autoDelete: false
vhost: /
bindingVersion: 0.3.0
```
<a name="operation"></a>
Expand Down

0 comments on commit 06c8faf

Please sign in to comment.