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

camel-kamelet - Use shorter UUIDs in created route ids

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.10.0
    • Component/s: camel-kamelet
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      The UUID generator is very long, so you have auto generated route IDs like

      07:21:55.627 [org.apache.camel.example.MyApplication.main()] INFO o.a.c.i.engine.AbstractCamelContext - Routes startup summary (total:4 started:4)
      07:21:55.628 [org.apache.camel.example.MyApplication.main()] INFO o.a.c.i.engine.AbstractCamelContext - Started route1 (kamelet://myTemplate)
      07:21:55.628 [org.apache.camel.example.MyApplication.main()] INFO o.a.c.i.engine.AbstractCamelContext - Started route2 (kamelet://myTemplate)
      07:21:55.628 [org.apache.camel.example.MyApplication.main()] INFO o.a.c.i.engine.AbstractCamelContext - Started myTemplate-47BC753EF1955F8-0000000000000000 (timer://myKamelet1)
      07:21:55.628 [org.apache.camel.example.MyApplication.main()] INFO o.a.c.i.engine.AbstractCamelContext - Started myTemplate-47BC753EF1955F8-0000000000000001 (timer://myKamelet2)

      We can probably do like we do for regular routes, and have its own running counter, so they are

      myTemplate-1
      myTemplate-2

      And so on.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: