When I change the policy with producerFlowControl="false" and it work fine.
But the problem is we can't accept any message lost. So It is great we can
go with having producer flow control. In the forum at
http://activemq.apache.org/per-destination-policies.html they said producer
will diligently waiting until space is available. But what I noticed is
after producer hung, it never came back even though the consumer finished
consuming all published messages. I have set TimeToLive to 1 minutes. Then
I add 'sendFailIfNoSpace' configuration to catch the exception and stay
some time before calling the send method again. But the result is same. I
don't know why the producer hang infinitely even though the consumer
consumes messages. Do anyone have any idea about this?
-- 
Thanks & Best Regards,

Ganuke Perera,

Reply via email to