You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2010/10/06 17:03:56 UTC
svn commit: r1005075 -
/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ActiveMQUuidGenerator.java
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) {