Does amqp support flow control with producerMaxRate

51 views Asked by At

I am using Red Hat JBoss AMQ 7.1.0.GA and testing flow control with amqp protocol by using example under amq71Install\examples\protocols\amqp\queue, I just added producerMaxRate=1 in the following code sample:

ConnectionFactory connectionFactory = new JmsConnectionFactory("amqp://192.168.56.11:61616?producerMaxRate=1");

But this doesn't works on controlling the flow, is it possible to use this parameter for amqp protocol?

Best regards

1

There are 1 answers

0
Justin Bertram On BEST ANSWER

The "producerMaxRate" parameter is only valid for "core" JMS clients, not AMQP.