Hi, I am using your library and I am facing an issue and before trying to open a PR I would like to understand if it is a problem or if it was the intention to keep the things like it is.
So, the main problem is:
1 - I am instantiating a reliable client configured for let's say server_1 and server_2
2 - As soon as my server_1 stop to work, the next time I try to publish a message it will fallback to server_2
3 - The problem is before it connects in server_2 it will try to connect in server_1 which will raise a timeout exception which currently is being logged to $stdouthere
This creates lots of noise in my logs every time a new message is published after the switch toserver_2:
But I would like to know if that puts clause was intentional or was forgotten thereafter some debugging. From the commit blames I could not figure out. In case it should be removed I can open a PR removing it.
Hi, I am using your library and I am facing an issue and before trying to open a PR I would like to understand if it is a problem or if it was the intention to keep the things like it is.
So, the main problem is: 1 - I am instantiating a reliable client configured for let's say
server_1
andserver_2
2 - As soon as myserver_1
stop to work, the next time I try to publish a message it will fallback toserver_2
3 - The problem is before it connects inserver_2
it will try to connect inserver_1
which will raise a timeout exception which currently is being logged to$stdout
hereThis creates lots of noise in my logs every time a new message is published after the switch to
server_2
:Currently I am suppresing the $stdout when creating a new
Stomp::Client
instance like:But I would like to know if that
puts
clause was intentional or was forgotten thereafter some debugging. From the commit blames I could not figure out. In case it should be removed I can open a PR removing it.Thanks!