Skip to content

Commit

Permalink
updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
musketyr committed Dec 10, 2024
1 parent fc9a905 commit a7cab48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/guide/src/docs/asciidoc/usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ include::{root-dir}/libs/micronaut-worker/src/test/groovy/com/agorapulse/worker/
<5> Use the `@QueueConsumer` annotation with the name of the queue to consume messages
<6> The consumer job must have a single parameter of the same type as the producer job returns

TIP: The value for `@Fork` is the same as the number of `maxMessages` for `@QueueConsumer` annotation. The value of `waitingTime` in `@QueueConsumer` is the same as the associated `@FixedRate` value.

==== Advanced Usage

The name of the queue can be customised using `@Consumes` and `@Produces`
Expand Down

0 comments on commit a7cab48

Please sign in to comment.