0

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

Lan
  • 119
  • 12

1 Answers1

1

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

Justin Bertram
  • 29,372
  • 4
  • 21
  • 43