You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gz...@apache.org on 2017/07/27 20:26:46 UTC

camel git commit: Fix compilation error

Repository: camel
Updated Branches:
  refs/heads/camel-2.19.x e366cb832 -> 1909afc07


Fix compilation error

Signed-off-by: Gregor Zurowski <gr...@zurowski.org>


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/1909afc0
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/1909afc0
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/1909afc0

Branch: refs/heads/camel-2.19.x
Commit: 1909afc07bf3864be8c45b1bfb68a810c0c1d99e
Parents: e366cb8
Author: Gregor Zurowski <gr...@zurowski.org>
Authored: Thu Jul 27 22:25:00 2017 +0200
Committer: Gregor Zurowski <gr...@zurowski.org>
Committed: Thu Jul 27 22:25:00 2017 +0200

----------------------------------------------------------------------
 .../apache/camel/model/rest/springboot/CamelRestTest.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/1909afc0/platforms/spring-boot/components-starter/camel-core-starter/src/test/java/org/apache/camel/model/rest/springboot/CamelRestTest.java
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/test/java/org/apache/camel/model/rest/springboot/CamelRestTest.java b/platforms/spring-boot/components-starter/camel-core-starter/src/test/java/org/apache/camel/model/rest/springboot/CamelRestTest.java
index 374240c..df3f7f9 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/test/java/org/apache/camel/model/rest/springboot/CamelRestTest.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/test/java/org/apache/camel/model/rest/springboot/CamelRestTest.java
@@ -24,7 +24,7 @@ import org.apache.camel.Processor;
 import org.apache.camel.ProducerTemplate;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.seda.SedaEndpoint;
-import org.apache.camel.impl.DefaultUuidGenerator;
+import org.apache.camel.impl.ActiveMQUuidGenerator;
 import org.apache.camel.spi.RestApiConsumerFactory;
 import org.apache.camel.spi.RestConfiguration;
 import org.apache.camel.spi.RestConsumerFactory;
@@ -138,9 +138,9 @@ public class CamelRestTest {
             // just use a seda endpoint for testing purpose
             String id;
             if (uriTemplate != null) {
-                id = DefaultUuidGenerator.generateSanitizedId(basePath + uriTemplate);
+                id = ActiveMQUuidGenerator.generateSanitizedId(basePath + uriTemplate);
             } else {
-                id = DefaultUuidGenerator.generateSanitizedId(basePath);
+                id = ActiveMQUuidGenerator.generateSanitizedId(basePath);
             }
             // remove leading dash as we add that ourselves
             if (id.startsWith("-")) {
@@ -167,7 +167,7 @@ public class CamelRestTest {
             Map<String, Object> parameters) throws Exception {
 
             // just use a seda endpoint for testing purpose
-            String id = DefaultUuidGenerator.generateSanitizedId(contextPath);
+            String id = ActiveMQUuidGenerator.generateSanitizedId(contextPath);
             // remove leading dash as we add that ourselves
             if (id.startsWith("-")) {
                 id = id.substring(1);