Claus Ibsen created CAMEL-16497:
-----------------------------------

             Summary: camel-kamelet - Use shorter UUIDs in created route ids
                 Key: CAMEL-16497
                 URL: https://issues.apache.org/jira/browse/CAMEL-16497
             Project: Camel
          Issue Type: Improvement
          Components: camel-kamelet
            Reporter: Claus Ibsen
             Fix For: 3.10.0


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to