Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Java-SCA-2.x
-
None
Description
Error handling in JMSBindingProcessor.read could be improved for UnexpectedElement. For example, when processing a .composite file which contained "wireFormat.jmsdefault" in the Tuscany namespace the following exception was thrown:
Incomplete binding.jms definition found unexpected element: org.apache.tuscany.sca.assembly.impl.ExtensionImpl@21e7c65
(FYI, the correct element should have been "wireFormat.jmsDefault" in the OASIS SCA namespace.)
I had to run with a debugger to determine what the offending element was. It would be more useful to know the QName rather than the classtype & hash code.