You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/12/21 13:38:03 UTC
[jira] Created: (CAMEL-3451) Rely on default values for attributes
in CamelContext in Spring XML to avoid emitting default values when
outputting the route as XML
Rely on default values for attributes in CamelContext in Spring XML to avoid emitting default values when outputting the route as XML
-------------------------------------------------------------------------------------------------------------------------------------
Key: CAMEL-3451
URL: https://issues.apache.org/jira/browse/CAMEL-3451
Project: Camel
Issue Type: Improvement
Components: camel-spring
Affects Versions: 2.5.0
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Priority: Minor
Fix For: 2.6.0
If you let a Camel route output in XML then you will get hose attributes on CamelContext
{code}
<camelContext autoStartup="true" lazyLoadTypeConverters="false" streamCache="false">
...
</camelContext>
{code}
As we can let Camel know it should use a default value if its not pre configured, then we can change those default settings to null, to avoid JAXB outputting them.
We do this for many of the other attributes. So this is just to get the remainder fixed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-3451) Rely on default values for attributes
in CamelContext in Spring XML to avoid emitting default values when
outputting the route as XML
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-3451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-3451.
--------------------------------
Resolution: Fixed
trunk: 1051484.
> Rely on default values for attributes in CamelContext in Spring XML to avoid emitting default values when outputting the route as XML
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-3451
> URL: https://issues.apache.org/jira/browse/CAMEL-3451
> Project: Camel
> Issue Type: Improvement
> Components: camel-spring
> Affects Versions: 2.5.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.6.0
>
>
> If you let a Camel route output in XML then you will get hose attributes on CamelContext
> {code}
> <camelContext autoStartup="true" lazyLoadTypeConverters="false" streamCache="false">
> ...
> </camelContext>
> {code}
> As we can let Camel know it should use a default value if its not pre configured, then we can change those default settings to null, to avoid JAXB outputting them.
> We do this for many of the other attributes. So this is just to get the remainder fixed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.