The moment I have a reponse that matches the following statement, I don't need any
more responses. No need to keep list of responses.
lookupSucceeded = (response != null) && !(response instanceof Exception)
&& !(response instanceof NoHandlerForRPC);
Hence, currently my only state is a boolean arising from that statement and in
needMoreResponses(), all I do is return:
return !(lookupSucceeded);
Hence, having response and address in needMoreResponses() would avoid me having to cache
that boolean because right now, I only have access to the response in isAcceptable.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223978#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...