Glen Daniels wrote:
I'm basically fine with this, since the default MU check happens right before the call to the MessageReceiver anyway. However, I don't like the "MessageReceiverExtension" name - it's not at all informative IMHO. How about "MustUnderstandChecker"? And rather than having the engine do both an instanceof and a method call, can we just do the instanceof?

  if (!receiver instanceof MustUnderstandChecker) {
    checkMustUnderstand(msgContext);
  }
  // Just call the MR - if we didn't do the check above,
  // you're on your own!

Then we make AxisEngine.checkMustUnderstand() public and let the JAXWSMessageReceiver decide whether or not to call it in its receive().

Sound OK?
To be honest I hate doing API changes now :) , so I am sorry I do not like to add a new method to MR interface.

Thank you,
Deepal

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

Reply via email to