This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit ac3a1513ec68f0e06a57c92d31419fa62a8b3602 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Mon Jun 29 18:47:53 2020 +0200 Regen --- .../catalog/docs/reactive-executor-vertx.adoc | 23 ++-------------------- .../docs/reactive-threadpoolfactory-vertx.adoc | 2 +- .../others/pages/reactive-executor-vertx.adoc | 23 ++-------------------- .../pages/reactive-threadpoolfactory-vertx.adoc | 2 +- 4 files changed, 6 insertions(+), 44 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/reactive-executor-vertx.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/reactive-executor-vertx.adoc index d76c301..dbf107a 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/reactive-executor-vertx.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/reactive-executor-vertx.adoc @@ -21,7 +21,7 @@ At this time this component is an experiment so use it with care. == VertX instance -This implementation will by default create a default `io.vertx.core.Vertx` instance to be used. +This implementation will first lookup in the registry for an existing `io.vertx.core.Vertx` to be used. However you can configure an existing instance using the getter/setter on the `VertXReactiveExecutor` class. == Auto detection from classpath @@ -31,25 +31,6 @@ and Camel should auto-detect this on startup and log as follows: [source,text] ---- -Using ReactiveExecutor: org.apache.camel.reactive.vertx.VertXReactiveExecutor@2a62b5bc +Using ReactiveExecutor: camel-reactive-executor-vertx ---- -== Manual enabling - -If you use OSGi or the implementation is not added to the classpath, you need to enable this explict such: - -[source,java] ----- -CamelContext camel = ... - -camel.setReactiveExecutor(new VertXReactiveExecutor()); ----- - -Or in XML DSL (spring or blueprint XML file) you can declare the factory as a `<bean>`: - -[source,xml] ----- -<bean id="vertxReactiveExecutor" class="org.apache.camel.reactive.vertx.VertXReactiveExecutor"/> ----- - -and then Camel should detect the bean and use the reactive executor. diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/reactive-threadpoolfactory-vertx.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/reactive-threadpoolfactory-vertx.adoc index f04786d..9a487b1 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/reactive-threadpoolfactory-vertx.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/reactive-threadpoolfactory-vertx.adoc @@ -50,7 +50,7 @@ from("direct:start") == VertX instance -This implementation will by default create a default `io.vertx.core.Vertx` instance to be used. +This implementation will first lookup in the registry for an existing `io.vertx.core.Vertx` to be used. However you can configure an existing instance using the getter/setter on the `VertXThreadPoolFactory` class. == Auto detection from classpath diff --git a/docs/components/modules/others/pages/reactive-executor-vertx.adoc b/docs/components/modules/others/pages/reactive-executor-vertx.adoc index 56008b9..0aae27f 100644 --- a/docs/components/modules/others/pages/reactive-executor-vertx.adoc +++ b/docs/components/modules/others/pages/reactive-executor-vertx.adoc @@ -23,7 +23,7 @@ At this time this component is an experiment so use it with care. == VertX instance -This implementation will by default create a default `io.vertx.core.Vertx` instance to be used. +This implementation will first lookup in the registry for an existing `io.vertx.core.Vertx` to be used. However you can configure an existing instance using the getter/setter on the `VertXReactiveExecutor` class. == Auto detection from classpath @@ -33,25 +33,6 @@ and Camel should auto-detect this on startup and log as follows: [source,text] ---- -Using ReactiveExecutor: org.apache.camel.reactive.vertx.VertXReactiveExecutor@2a62b5bc +Using ReactiveExecutor: camel-reactive-executor-vertx ---- -== Manual enabling - -If you use OSGi or the implementation is not added to the classpath, you need to enable this explict such: - -[source,java] ----- -CamelContext camel = ... - -camel.setReactiveExecutor(new VertXReactiveExecutor()); ----- - -Or in XML DSL (spring or blueprint XML file) you can declare the factory as a `<bean>`: - -[source,xml] ----- -<bean id="vertxReactiveExecutor" class="org.apache.camel.reactive.vertx.VertXReactiveExecutor"/> ----- - -and then Camel should detect the bean and use the reactive executor. diff --git a/docs/components/modules/others/pages/reactive-threadpoolfactory-vertx.adoc b/docs/components/modules/others/pages/reactive-threadpoolfactory-vertx.adoc index cf33fda..b6ba6c5 100644 --- a/docs/components/modules/others/pages/reactive-threadpoolfactory-vertx.adoc +++ b/docs/components/modules/others/pages/reactive-threadpoolfactory-vertx.adoc @@ -52,7 +52,7 @@ from("direct:start") == VertX instance -This implementation will by default create a default `io.vertx.core.Vertx` instance to be used. +This implementation will first lookup in the registry for an existing `io.vertx.core.Vertx` to be used. However you can configure an existing instance using the getter/setter on the `VertXThreadPoolFactory` class. == Auto detection from classpath