I’m using ActiveMQ 5.5.0 with ActiveMQ-CPP as client. With configuration prefetch size = 0, polling consumer fails to reconnect during the failover.


This issue has been fixed by the item AMQ-2877:



AMQ-2877 fixes the problem in the java client side but not in the c++ client side. Is it possible to merge this fix to ActiveMQ-CPP?


Attached on this email a diff of what I’ve merged from AMQ-2877 to resolve the problem on my ActiveMQ-CPP. This diff can be used probably as a suggestion…



Daniel Lagt.