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.

Reply via email to