Re: Java client: Cannot stop during failover ?

2013-07-29 Thread pela
Hi Keith, Thanks for your suggestion. I implemented my own FailoverMethod by just extending FailoverRoundRobinServers, and overriding failoverAllowed() to return false if a global "shutting down" flag is set, otherwise delegating to the base implementation. That appears to be working. I must adm

Re: Qpid throwed WSAENOBUFS while receiving data from a broker

2013-07-29 Thread Hamid.Shahid
It is the same case for us, we have seen this issue in production environment more then 10 times using Qpid 0.18. After reading the post, I went through the code of QPID 0.18 and I found that there is no BufferCount specified. Now, I have downloaded the latest QPID 0.22 C++ version on windows 7 a

Re: Java client: Cannot stop during failover ?

2013-07-29 Thread Keith W
Hi Marco (Connection#stop() won't help - it's semantics are defined by JMS and merely stops the incoming flow of messages). I think you will be able to achieve your requirements with a custom implementation of FailoverMethod. The FailoverMethod interface is designed as an extension point to the