<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 12-09-21 2:34 PM, Manik Surtani
      wrote:<br>
    </div>
    <blockquote
      cite="mid:6450D5DA-3286-40C0-BC2B-B6A54C33183A@jboss.org"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      Looks good, except that the pseudocode for dealing with a
      CancellableCommand (on the recipient node) should look like:
      <div><br>
      </div>
      <div>* Receive command</div>
      <div>* if CancellableCommand, register with CancellationService</div>
      <div>* Perform command</div>
      <div>* If CancellableCommand, un-register from CancellationService</div>
      <div><br>
      </div>
      <div>That last step was missing from your detail below. &nbsp;I presume
        that would require a CancellationService#unregisterThread(UUID
        u) ?</div>
      <br>
    </blockquote>
    I was looking at the most appropriate place for this logic and I
    think InboundInvocationHandlerImpl#handleInternal method and its
    try/catch/finally clause fits the bill, would you agree? <br>
    <br>
    <br>
  </body>
</html>