You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2013/07/09 08:21:01 UTC
svn commit: r868868 - in /websites/production/camel/content:
cache/main.pageCache uuidgenerator.html
Author: buildbot
Date: Tue Jul 9 06:21:01 2013
New Revision: 868868
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/uuidgenerator.html
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/uuidgenerator.html
==============================================================================
--- websites/production/camel/content/uuidgenerator.html (original)
+++ websites/production/camel/content/uuidgenerator.html Tue Jul 9 06:21:01 2013
@@ -123,6 +123,10 @@ getContext().setUuidGenerator(new MyCust
<ul class="alternate" type="square"><li><tt>org.apache.camel.impl.JavaUuidGenerator</tt> - This implementation uses <tt>java.util.UUID</tt>. The <tt>java.util.UUID</tt> is synchronized and can therefore affect performance on high concurrent systems. Therefore consider one of the generators.</li><li><tt>org.apache.camel.impl.SimpleUuidGenerator</tt> - This implementation use internally a <tt>java.util.concurrent.atomic.AtomicLong</tt> and increase the ID for every call by one. Starting with 1 as the first id.</li><li><tt>org.apache.camel.impl.ActiveMQUuidGenerator</tt> - This implementation use the ActiveMQ 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.</li></ul>
+<h4><a shape="rect" name="UuidGenerator-ActiveMQUuidGenerator"></a>ActiveMQUuidGenerator</h4>
+
+<p>From <b>Camel 2.10.7/2.11.1</b> onwards the JVM system property with key: <tt>activemq.idgenerator.port</tt> can be used to assign a specific port which is used during initialization of the UUID generator. By default the port number 0 is used. Though in some cloud infrastructures this is not allowed, and thus a specific port can be assigned instead. </p>
+
<h3><a shape="rect" name="UuidGenerator-Thedefaultgenerator"></a>The default generator</h3>
<p>From Camel 2.5 onwards the <tt>ActiveMQUuidGenerator</tt> is the default generator because its the fastest.<br clear="none">