Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.19.0
-
Component/s: camel-core
-
Labels:None
-
Estimated Complexity:Unknown
Description
So if you do
KafkaComponent kafka = new KafkaComponent(); kafka.setBrokers("{{kafka.host}}:{{kafka.port}}");
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.