Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fixed small errors #669

Merged
merged 1 commit into from
Dec 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/rabbitmq/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- [Selecting channel for handler](#selecting-channel-for-handler)
- [Sending Messages](#sending-messages)
- [Inject the AmqpConnection](#inject-the-amqpconnection)
- [Publising Messages (Fire and Forget)](#publising-messages-fire-and-forget)
- [Publishing Messages (Fire and Forget)](#publishing-messages-fire-and-forget)
- [Requesting Data from an RPC](#requesting-data-from-an-rpc)
- [Type Inference](#type-inference)
- [Interop with other RPC Servers](#interop-with-other-rpc-servers)
Expand Down Expand Up @@ -446,7 +446,7 @@ export class AppController {
}
```

### Publising Messages (Fire and Forget)
### Publishing Messages (Fire and Forget)

If you just want to publish a message onto a RabbitMQ exchange, use the `publish` method of the `AmqpConnection` which has the following signature:

Expand Down Expand Up @@ -557,7 +557,7 @@ The default is `defaultNackErrorHandler` and it just nack the message without re

However, you can do more fancy stuff like inspecting the message properties to decide to requeue or not. Be aware that you should not requeue indefinitely...

Please note that nack will trigger the dead-letter mecanism of RabbitMQ (and so, you can use the deadLetterExchange in the queueOptions in order to send the message somewhere else).
Please note that nack will trigger the dead-letter mechanism of RabbitMQ (and so, you can use the deadLetterExchange in the queueOptions in order to send the message somewhere else).

A complete error handling strategy for RabbitMQ is out of the scope of this library.

Expand Down
Loading