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 2019/08/06 06:02:00 UTC

[jira] [Commented] (CAMEL-9676) Expose the less known options you can set on CamelContext in the model

    [ https://issues.apache.org/jira/browse/CAMEL-9676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16900654#comment-16900654 ] 

Claus Ibsen commented on CAMEL-9676:
------------------------------------

These have been exposed in camel-spring-boot and also in camel-main

> Expose the less known options you can set on CamelContext in the model
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-9676
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9676
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.0.0
>
>
> There is a bunch of options you can configure on the camel context as properties. For example to limit length of log messages, and setting some cache size of producer templates etc.
> Today its just key/value paris and you would need to hunt down what options we have in camel.
> We should add a type safe configuration class for this, and expose it in the model in java and xml. Then its easier to spot and know what options there is.
> Also we can then tie that into spring-boot that can use this to know which options you can configure which many tools such as Eclipse / IDEA has spring-boot support for already.
> For example camel-jaxb has an option to turn on | off pretty print that its kinda hidden today. With this we would add that as an known option and its much easier to spot for Camel end users.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)