Re: disconnect recovery issue

2023-03-25 Thread Justin Bertram
What you're seeing is the expected behavior in certain circumstances [1]. In your case, you're sending a durable message to the broker and the connection fails. The problem now is that the client doesn't know what happened to the message. Did it make it to the broker and get persisted to disk befo

Re: disconnect recovery issue

2023-03-24 Thread prateekjai...@gmail.com
Yes, I too faced similar issues while randomly killing artemis instances. The pattern which I observed was mainly, when you kill live instances in a cluster w/o running backup node. So, in our case we incorporated *client side failover* detection. IMO, most of the times; failover happens transparen

disconnect recovery issue

2023-03-23 Thread John Lilley
We’ve added a chaos monkey to randomly disconnect Artemis clients from broker. This mostly works, however, we do get occasional errors that are not retried by the AMQ JMS client. This manifests with the exception: AMQ219016: Connection failure detected. Unblocking a blocking call that will never