You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/01/10 13:48:12 UTC

[jira] [Created] (CAMEL-5949) XML DSL - Should not have default values in errorhandler

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