Skip to content

Commit a7cab48

Browse files
committed
updated doc
1 parent fc9a905 commit a7cab48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/guide/src/docs/asciidoc/usage.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ include::{root-dir}/libs/micronaut-worker/src/test/groovy/com/agorapulse/worker/
138138
<5> Use the `@QueueConsumer` annotation with the name of the queue to consume messages
139139
<6> The consumer job must have a single parameter of the same type as the producer job returns
140140

141+
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.
142+
141143
==== Advanced Usage
142144

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

0 commit comments

Comments
 (0)