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

camel-core - Add prefixId to route model so generated IDs of the route is prefixed

    XMLWordPrintableJSON

Details

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

    Description

      So you can do

      from("xxx").routeId("new-order").prefixId("xxx")
      .to("aaa")
      .to("bbb").id("order")

      from("xxx2").routeId("new-order").prefixId("zzz")
      .to("aaa")
      .to("bbb").id("order")
      .to("ccc")

      Then every node in the routes are prefixed with "xxx" or "zzz". This allows to avoid problems with ID duplicates, and also group together IDs as the use the same prefix.

      The prefix is applied for

      • route id
      • explicit set id
      • auto generated ids

      This means every ID from the route is prefixed.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: