I've been caught out a couple of times now by the runtime silently failing
to work properly because I haven't put the correct set of extensions on my
classpath. Locally I have just put a printout in to warn me.

DefaultStAXArtifactProcessorExtensionPoint

   public Object read(XMLStreamReader source) throws
ContributionReadException {

       // Delegate to the processor associated with the element qname
       QName name = source.getName();
       StAXArtifactProcessorExtension<?> processor =
(StAXArtifactProcessorExtension<?>)this.getProcessor(name);
       if (processor == null) {
           System.err.print("No extension processor registered for element
" + name.toString());
           return null;
       }
       return processor.read(source);
   }

So that if an element is encountered for which there is no loader I get to
find out I've made a mistake. So can someone explain how we should be doing
logging/montoring in the Tuscany runtime as it would be good to report back
to users that this is happening

Regards

Simon

Reply via email to