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

New DefaultUuidGenerator to startup Camel faster

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.20.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: