From: Kocik, W. <wk...@ve...> - 2010-07-22 17:30:38
|
In this case, I¹ve clearly misunderstood the purpose of sendAsync(). I was using it to send NOTIFY messages to a group of slave name servers, and when it was discovered that it was only sending to the first name server on the list, this was the ³fix² I implemented. Is there some built-in mechanism to send a message to a bunch of name servers (synchronously, now that I think of it) or should I thread that on my own? > On 7/22/10 1:18 PM, "Brian Wellington" <bwe...@xb...> wrote: > >> 1. ExtendedResolver.java sendAsync() was not using its multiple resolvers >> to send a message, only the first one on the array. > This is the intended behavior. Multiple requests will be sent if necessary > (that is, if the first request fails or times out), but in the normal case, a > single request sent using the first resolver (or a random resolver if > setLoadBalance() has been called) is sufficient. > > Brian > -- Bill |