Error handling in JMSBindingProcessor.read could be improved for
UnexpectedElement
----------------------------------------------------------------------------------
Key: TUSCANY-4001
URL: https://issues.apache.org/jira/browse/TUSCANY-4001
Project: Tuscany
Issue Type: Improvement
Components: Java SCA JMS Binding Extension
Affects Versions: Java-SCA-2.x
Reporter: Jennifer A Thompson
Priority: Minor
Fix For: Java-SCA-2.x
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira