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 2025/01/22 13:04:00 UTC

[jira] [Assigned] (CAMEL-21641) camel-jbang - Configuring components in Java DSL best practice

     [ https://issues.apache.org/jira/browse/CAMEL-21641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-21641:
-----------------------------------

    Assignee: Claus Ibsen

> 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
>            Assignee: Claus Ibsen
>            Priority: Major
>             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)