Limit Producer Rate Flow-Control using the Core API
19.2.2.1. Using Core API If the HornetQ core API is being used the rate can be set via the ClientSessionFactory.setProducerMaxRate(int consumerMaxRate) method or alternatively via some of the ClientSession.createProducer() methods.