camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1005075 - /camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ActiveMQUuidGenerator.java
Date Wed, 06 Oct 2010 15:03:56 GMT
Author: davsclaus
Date: Wed Oct  6 15:03:56 2010
New Revision: 1005075

URL: http://svn.apache.org/viewvc?rev=1005075&view=rev
Log:
Use - in AMQ id generator

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ActiveMQUuidGenerator.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ActiveMQUuidGenerator.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ActiveMQUuidGenerator.java?rev=1005075&r1=1005074&r2=1005075&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ActiveMQUuidGenerator.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ActiveMQUuidGenerator.java
Wed Oct  6 15:03:56 2010
@@ -57,7 +57,7 @@ public class ActiveMQUuidGenerator imple
             try {
                 hostName = InetAddress.getLocalHost().getHostName();
                 ServerSocket ss = new ServerSocket(0);
-                stub = "/" + ss.getLocalPort() + "-" + System.currentTimeMillis() + "/";
+                stub = "-" + ss.getLocalPort() + "-" + System.currentTimeMillis() + "-";
                 Thread.sleep(100);
                 ss.close();
             } catch (Exception ioe) {



Mime
View raw message