You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On request-response pattern, the reply queue has messages piled up not .ack (). Saw previous issue where this bug should had been fixed. But it is appear on my end.
@pocheng - I don't think the example code you have will work, and I'd like to suggest some improvements as well.
Move your configuration out of the request block
I would move configuring the topology into a function that happens as your service starts up and only start the HTTP server after it's in place. This is the pattern we use for our services and it works well. If connectivity is lost, wascally will automatically re-establish the entire topology for you when it re-connects. There is no need to re-call configure.
Bug in the response handler?
You have the line: console.log ('received response...'.success); which might throw an exception. I usually recommend wrapping message handling blocks in try/catch so that you consistently ack or reject messages.
Let me know if you are continuing to see this issue. I haven't been able to reproduce it but there may be other differences in how I've set up my topology.
On request-response pattern, the reply queue has messages piled up not
.ack ()
. Saw previous issue where this bug should had been fixed. But it is appear on my end.Can anyone shed some light on this? Thanks.
I am using
receiving msg..
received response...
The text was updated successfully, but these errors were encountered: