Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the asciidoc in the repository: https://github.com/apache/camel/blob/master/README.md https://github.com/apache/camel/blob/master/components/readme.adoc
Starting with Camel 2.5, Camel supports 3rd party UUID generator(s). This is useful, if e.g. your messaging provider does not support UUID's with a length of 36 characters (like Websphere MQ). Another useful scenario is to use a simple counter for testing purpose. With this it is easier to correlate the exchanges in the log/debugger.
Camel uses UUIDs in the exchange and message ids, and other unique ids it uses.
You only have to implement
Configuring from Java DSL
You should not change the UUID generator at runtime (it should only be set once)!
Configuring from Spring DSL
Camel will configure this UUID generator by doing a lookup in the Spring bean registry to find the bean of the type
Camel comes with three implementations of
From Camel 2.10.7/2.11.1 onwards the JVM system property with key:
The default generator
From Camel 2.5 onwards the