Claus Ibsen created CAMEL-21641:
-----------------------------------
Summary: camel-jbang - Configuring components in Java DSL best
practice
Key: CAMEL-21641
URL: https://issues.apache.org/jira/browse/CAMEL-21641
Project: Camel
Issue Type: Improvement
Components: camel-jbang
Reporter: Claus Ibsen
Fix For: 4.x
You should not have component configuration code in the configure() method as
this is for the DSL only.
We should have a practice where to put such code, also for users that want to
cramp all together in a single file for fun and demo purposes.
So we may have a optional method on RouteBuilder for this purpose. That is
triggered by camel-core and is only intended for configuration of components
and others that you may otherwise do in application.properties
--
This message was sent by Atlassian Jira
(v8.20.10#820010)