Producer slows down when consumer is slow

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Producer slows down when consumer is slow

xabhi
Hi,

Below is my destination policy in which I have disabled producerFlowControl but my producer still slows down (to the rate consumer is able to actually handle).
Why does this happen even after disabling producerFlowControl, are these two things not related?? What should i do to avoid this?

amq:destinationPolicy>
            <amq:policyMap>
                <amq:policyEntries>
                    <amq:policyEntry topic=">" producerFlowControl="false"
                        advisoryForFastProducers="true" advisoryForSlowConsumers="false"
                        advisoryWhenFull="true">
                    </amq:policyEntry>
                    <amq:policyEntry queue=">" producerFlowControl="false"
                        advisoryForFastProducers="true" advisoryForSlowConsumers="false"
                        advisoryWhenFull="true">
                    </amq:policyEntry>
                </amq:policyEntries>
            </amq:policyMap>
        </amq:destinationPolicy>

Thanks,
Abhi