You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/10/08 05:45:22 UTC
[camel-karaf] branch master updated: Fixed build related to UUID
generation
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git
The following commit(s) were added to refs/heads/master by this push:
new db6deec Fixed build related to UUID generation
db6deec is described below
commit db6deecde0d7d305fbed19130d8818913562478e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 8 06:51:16 2020 +0200
Fixed build related to UUID generation
---
.../test/blueprint/component/rest/DummyRestConsumerFactory.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/component/rest/DummyRestConsumerFactory.java b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/component/rest/DummyRestConsumerFactory.java
index 8245682..980e5ab 100644
--- a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/component/rest/DummyRestConsumerFactory.java
+++ b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/component/rest/DummyRestConsumerFactory.java
@@ -22,9 +22,9 @@ import org.apache.camel.CamelContext;
import org.apache.camel.Consumer;
import org.apache.camel.Processor;
import org.apache.camel.component.seda.SedaEndpoint;
-import org.apache.camel.impl.engine.DefaultUuidGenerator;
import org.apache.camel.spi.RestConfiguration;
import org.apache.camel.spi.RestConsumerFactory;
+import org.apache.camel.support.ClassicUuidGenerator;
public class DummyRestConsumerFactory implements RestConsumerFactory {
@@ -34,9 +34,9 @@ public class DummyRestConsumerFactory implements RestConsumerFactory {
// just use a seda endpoint for testing purpose
String id;
if (uriTemplate != null) {
- id = DefaultUuidGenerator.generateSanitizedId(basePath + uriTemplate);
+ id = ClassicUuidGenerator.generateSanitizedId(basePath + uriTemplate);
} else {
- id = DefaultUuidGenerator.generateSanitizedId(basePath);
+ id = ClassicUuidGenerator.generateSanitizedId(basePath);
}
// remove leading dash as we add that ourselves
if (id.startsWith("-")) {