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 2017/05/26 09:24:04 UTC

[jira] [Created] (CAMEL-11338) New DefaultUuidGenerator to startup Camel faster

Claus Ibsen created CAMEL-11338:
-----------------------------------

             Summary: New DefaultUuidGenerator to startup Camel faster
                 Key: CAMEL-11338
                 URL: https://issues.apache.org/jira/browse/CAMEL-11338
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen


See
https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/impl/ActiveMQUuidGenerator.java#L82

We should consider tweaking the uuid generator to maybe not use ServerSocket to get a random port number. But instead avoid this network associated stuff so the seed is generated faster and don't do network stuff.

Then we can create a new DefaultUuidGenerator class to be used, and leave the ActiveMQ around to be identical with the code in ActiveMQ.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)