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/01/24 18:33:39 UTC

[camel] 01/03: Fixed Build and regen

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.git

commit 1554a080faac032223bf8b3f1c3c34ac4412d8e5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jan 24 18:50:37 2020 +0100

    Fixed Build and regen
---
 components/camel-file-watch/src/main/docs/file-watch-component.adoc   | 4 +++-
 .../src/test/java/org/apache/camel/reactive/SimpleMockTest.java       | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/components/camel-file-watch/src/main/docs/file-watch-component.adoc b/components/camel-file-watch/src/main/docs/file-watch-component.adoc
index b452a6e..9eaa5ca 100644
--- a/components/camel-file-watch/src/main/docs/file-watch-component.adoc
+++ b/components/camel-file-watch/src/main/docs/file-watch-component.adoc
@@ -1,6 +1,8 @@
+[[file-watch-component]]
 = File Watch Component
 
 *Since Camel 3.0*
+
 *Since Camel 3.0*
 
 
@@ -167,4 +169,4 @@ relative filename. For absolute files this is the absolute path.
 |`CamelFileParent` |The parent path.
 
 |`CamelFileLastModified` |A `Long` value containing the last modified timestamp of the file.
-|===
+|===
\ No newline at end of file
diff --git a/components/camel-reactive-executor-vertx/src/test/java/org/apache/camel/reactive/SimpleMockTest.java b/components/camel-reactive-executor-vertx/src/test/java/org/apache/camel/reactive/SimpleMockTest.java
index 5a228a1..5e1c01b 100644
--- a/components/camel-reactive-executor-vertx/src/test/java/org/apache/camel/reactive/SimpleMockTest.java
+++ b/components/camel-reactive-executor-vertx/src/test/java/org/apache/camel/reactive/SimpleMockTest.java
@@ -19,6 +19,8 @@ package org.apache.camel.reactive;
 import org.apache.camel.CamelContext;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
+import org.apache.camel.impl.DefaultCamelContext;
+import org.apache.camel.impl.engine.AbstractCamelContext;
 import org.apache.camel.reactive.vertx.VertXReactiveExecutor;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
@@ -27,7 +29,7 @@ public class SimpleMockTest extends CamelTestSupport {
 
     @Override
     protected CamelContext createCamelContext() throws Exception {
-        CamelContext context = super.createCamelContext();
+        AbstractCamelContext context = new DefaultCamelContext();
         context.setReactiveExecutor(new VertXReactiveExecutor());
         return context;
     }