THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Camel comes with three implementations of org.apache.camel.spi.UuidGenerator
:
org.apache.camel.impl.DefaultUuidGenerator
- The default Camel UUID generator which useJavaUuidGenerator
- This implementation usesjava.util.UUID
. Thejava.util.UUID
is synchronized and can therefore affect performance on high concurrent systems. Therefore consider one of the generators.org.apache.camel.impl.SimpleUuidGenerator
- This implementation use internally ajava.util.concurrent.atomic.AtomicLong
and increase the ID for every call by one. Starting with 1 as the first id.org.apache.camel.impl.ActiveMQUuidGenerator
- This implementation use the ActiveMQ /Camel 1.x style of ID's. This implementation may use some APIs from the JDK which is forbidden to use if running in the cloud (such as Google App Engine) and therefore you may have to use one of the other generators.
The default generator
From Camel 2.5 onwards the ActiveMQUuidGenerator
is the default generator because its the fastest.
In Camel 2.4 or older the default is the JavaUuidGenerator
generator.
In Camel 1.x the default generator is likewise the ActiveMQUuidGenerator
.