prefetchCount
Purpose
Sets number of messages the consumer will prefetch.Examples
static rabbitConfig = [ queue: "example.queue", prefetchCount: 1 ]
The native RabbitMQ Grails plugin provides easily consumable messaging functionality.
(Quick Reference)
prefetchCountPurposeSets number of messages the consumer will prefetch.Examplesstatic rabbitConfig = [ queue: "example.queue", prefetchCount: 1 ] DescriptionSets the QOS prefetch count property of the consumer's channel. By default, the consumer will fetch one message at a time. Increasing this value will increase the number of messages the consumer will queue up before it processes them. |
Command LineConnection ConfigurationConsumer ConfigurationRabbit Message Publisher |