Producer Rate Limited Flow-Control
19.2.2. Rate limited flow control HornetQ also allows the rate a producer can emit message to be limited, in units of messages per second. By specifying such a rate, HornetQ will ensure that producer never produces messages at a rate higher than that specified. The rate must be a positive integer to enable this functionality and is the maximum desired message consumption rate specified in units of messages per second. Setting this to -1 disables rate limited flow control. The default value is -1. Please see the Section 11.1.36, “Message Producer Rate Limiting� for a working example of limiting producer rate.