Claus Ibsen created CAMEL-5949:
----------------------------------

             Summary: XML DSL - Should not have default values in errorhandler 
                 Key: CAMEL-5949
                 URL: https://issues.apache.org/jira/browse/CAMEL-5949
             Project: Camel
          Issue Type: Bug
          Components: camel-blueprint, camel-spring
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.9.6, 2.10.4, 2.11.0


We should not have default values for <errorHandler> in the XML DSL as when 
looking at the model at runtime, these values would be set, and appear as in 
use.

The <errorHandler> is a bit special as its for configuring all the error 
handlers. Which mean the default level = ERROR option will in the model be as 
if the end user configured level = ERROR which is only supported on the logging 
error handler, and not the others etc. Causing problem.

The logging error handler builder has already default values, so its safe to 
remove the redundant default value from the model.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to