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 2017/03/04 10:09:45 UTC

[jira] [Created] (CAMEL-10937) Camel components - Configured using setters should support property placeholders

Claus Ibsen created CAMEL-10937:
-----------------------------------

             Summary: Camel components - Configured using setters should support property placeholders
                 Key: CAMEL-10937
                 URL: https://issues.apache.org/jira/browse/CAMEL-10937
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.19.0


So if you do

{code}
                KafkaComponent kafka = new KafkaComponent();
                kafka.setBrokers("{{kafka.host}}:{{kafka.port}}");
{code}

Then those property placeholder should be resolved by Camel and set as their actual value when the component is starting up.

Then you can configure this from just java code as well. As <bean> style have property placeholders but then its either blueprint or spring style. If we allow to use Camel style then users can do this more consistently.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)