Hello. We are running activemq 5.8, on centos 6.X with OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode).
I have a situation where I think I have turned off flow control but I am seeing seeing behavior that makes me think flow control is still on. The activemq broker configurations are here https://github.com/someword/activemq-configs/tree/master/nabble-configs (minus auth bits). In my test scenario I have nodes i'll call node-client and node-server. Node-server connects to an activemq spoke and subscribes to tive.nodes waiting for messages to come in to reply to. Node-client connects to an activemq hub and publishes messages to tive.nodes which and include a temporary reply-to queue in the message (eg: global.reply.spammy_<PID>). The publishing application on node-client happily publishes messages for a second or so and then the client hangs as it's blocked on a write. At this point it seems as if activemq flow control on the hub broker has kicked in and stopped accepting messages from node-client. When looking at the queue counters I see that all of the messages published by node-client reached node-server and got a response in the reply-to queue. The reply to queue usually has 500 - 900 messages in the reply-to queue marked as 'dequeued'. The problem is that I don't want to consume any messages until I have finished publishing everything I have to publish. So I took the steps that I felt were required to disable producer flow control. Here are the highlights from the referenced configs which I thought would turn of off flow control. Any ideas what I'm missing? <policyEntry topic=">" producerFlowControl="false"/> <policyEntry queue=">" gcInactiveDestinations="true" inactiveTimoutBeforeGC="300000" producerFlowControl="false" queuePrefetch="1"> <deadLetterStrategy> <sharedDeadLetterStrategy processExpired="false" /> </deadLetterStrategy> <pendingQueuePolicy> <vmQueueCursor /> </pendingQueuePolicy> TIA. Derek. -- View this message in context: http://activemq.2283324.n4.nabble.com/Did-I-turn-off-producer-flow-control-correctly-tp4671619.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.