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
When using the getReply with the timeout functionality if the time out occurs then the handlers are not cleared and the same correlationId cannot be used with getReply.
The text was updated successfully, but these errors were encountered:
The timeout logic is specified in Queue.getReply, but the logic of adding and removing the handler is inside reply-queue. If I'm not missing anything these are the options:
expose a method from reply-queue in order to remove handlers
Move the timeout logic inside reply-queue so it knows when a timeout occurred and knows when to remove the handler (not only onReply, but onTimeout as well)
Somehow treat the timeout in order to trigger the onReply of reply-queue.
I'm in favor of solution number 2. Is there any other approach that I'm missing. In any case you can assign this to me.
When using the getReply with the timeout functionality if the time out occurs then the handlers are not cleared and the same correlationId cannot be used with getReply.
The text was updated successfully, but these errors were encountered: