Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17555

camel-core - Flag to include/exclude routes in route templates

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.16.0
    • camel-core
    • None
    • Unknown

    Description

      To make route templates (aka kamelets) more flexible it can benefit that we allow to declare routes whether they should be included or excluded. This allows to parameterize these routes and therefore only include them if the template has a parameter included for this.

      A bit like the new doSwitch which optimizes the when and only select the one that has a parameter from the template.

      Now we need to come up with a good name for such an option, and should it be include/exclude, filter, or pattern or enabled/disabled or something else.

      We can use simple language so you can say something like:

      <route enabled="protocol == 'avro'">

      </route>

      <route enabled="protocol == 'json'">

      </route>

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            essobedo Nicolas Filotto
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment