Hi Bill ;
I added a few comment line into the code.

>In revision 415245, some code was added to the
>AxisEngine.TransportNonBlockingInvocationWorker with the comment "-
>minor modification" -- this code added a boolean, done, and a while loop
>which tests that boolean.
>
>    /**
>     * This class is the workhorse for a non-blocking invocation that uses a 
> two
>     * way transport.
>     */
>    private class TransportNonBlockingInvocationWorker implements Runnable {
>        private MessageContext msgctx;
>        private TransportSender sender;
>        private boolean done;
>
>        public TransportNonBlockingInvocationWorker(MessageContext msgctx,
>                                                    TransportSender sender) {
>            this.msgctx = msgctx;
>            this.sender = sender;
>        }
>
>        public void run() {
>            try {
>                while (!done) {
>                    sender.invoke(msgctx);
>                    done = true;
>                }
>            } catch (Exception e) {
>                log.info(e.getMessage());
>            }
>        }
>    }
>
>The ThreadPool is the the only one that has a handle to the
>TransportNonBlockingInvocationWorker instance, and he can't tell what
>the outcome was so this addition is rather confusing.  
>
I am not clear what do you mean by this , thread is just to send the
request. It will create AxisEngine and and send the message and wait
till it get the transport ack.

>Can someone
>enlighten me as to its purpose since the commit message is utterly
>useless and there are no other comments in the code? 
>  
>
already done in the code.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to