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 2022/10/05 01:13:00 UTC

[jira] [Commented] (CAMEL-18574) camel-core - Add disabled option to EIPs

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

Claus Ibsen commented on CAMEL-18574:
-------------------------------------

Once an EIP is disabled it cannot be enabled again at runtime. This is due to optimized routing engine to avoid the overhead of checking for enabled vs disabled. And since this feature is to make it quick to disable parts of routes during development or testing.



> camel-core - Add disabled option to EIPs
> ----------------------------------------
>
>                 Key: CAMEL-18574
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18574
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.20.0
>
>
> When working with EIPs you may want to temporary disable one or more EIPs. Today you have to comment out code, or remove the EIPs.
> But we should add disabled = true|false so users can set it directly on the EIP and keep the code as-is. This will also help tooling where you can then easily [x] to disable something.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)