You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2020/09/09 13:52:27 UTC
[camel] 01/01: add missing documentation about SimpleUuidGenerator
This is an automated email from the ASF dual-hosted git repository.
bvahdat pushed a commit to branch uuid-generator
in repository https://gitbox.apache.org/repos/asf/camel.git
commit d30d18386253ec0b17a7c6c99b995e3386c28b08
Author: Babak Vahdat <bv...@apache.org>
AuthorDate: Wed Sep 9 15:52:07 2020 +0200
add missing documentation about SimpleUuidGenerator
---
docs/user-manual/modules/ROOT/pages/uuidgenerator.adoc | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/docs/user-manual/modules/ROOT/pages/uuidgenerator.adoc b/docs/user-manual/modules/ROOT/pages/uuidgenerator.adoc
index 43ef7ae..58a59ed 100644
--- a/docs/user-manual/modules/ROOT/pages/uuidgenerator.adoc
+++ b/docs/user-manual/modules/ROOT/pages/uuidgenerator.adoc
@@ -46,11 +46,15 @@ bean registry to find the bean of the type
[[UuidGenerator-Providedimplementations]]
== Provided implementations
-Camel comes with two implementations of
+Camel comes with three implementations of
`org.apache.camel.spi.UuidGenerator`:
-* `org.apache.camel.support.SimpleUuidGenerator` - This implementation use
-internally a `java.util.concurrent.atomic.AtomicLong` and increase the
+* `org.apache.camel.support.SimpleUuidGenerator` - This implementation uses
+internally a `java.util.concurrent.atomic.AtomicLong` and increases the
ID for every call by one. Starting with 1 as the first id.
* `org.apache.camel.impl.engine.DefaultUuidGenerator` - This implementation
-use a fast unique UUID generation that is cluster safe (similar to uuid generator in ActiveMQ)
+uses a fast unique UUID generation that is cluster safe (similar to uuid
+generator in ActiveMQ). This is the default implementation in use by Camel.
+* `org.apache.camel.support.SimpleUuidGenerator` - This implementation
+uses a counter which increments by one. This generator is not unique per host
+or JVM, as its private per CamelContext.