[ 
https://issues.apache.org/jira/browse/CAMEL-10806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16467232#comment-16467232
 ] 

ASF GitHub Bot commented on CAMEL-10806:
----------------------------------------

lburgazzoli closed pull request #2328: CAMEL-10806: Add a RxJava2 module
URL: https://github.com/apache/camel/pull/2328
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/apache-camel/pom.xml b/apache-camel/pom.xml
index 8a4b80a4edc..6ac762f7683 100644
--- a/apache-camel/pom.xml
+++ b/apache-camel/pom.xml
@@ -845,6 +845,10 @@
       <groupId>org.apache.camel</groupId>
       <artifactId>camel-reactor</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.apache.camel</groupId>
+      <artifactId>camel-rxjava2</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.apache.camel</groupId>
       <artifactId>camel-rest-swagger</artifactId>
@@ -2139,6 +2143,11 @@
       <artifactId>camel-reactor-starter</artifactId>
       <version>${project.version}</version>
     </dependency>
+    <dependency>
+      <groupId>org.apache.camel</groupId>
+      <artifactId>camel-rxjava2-starter</artifactId>
+      <version>${project.version}</version>
+    </dependency>
     <dependency>
       <groupId>org.apache.camel</groupId>
       <artifactId>camel-rest-swagger-starter</artifactId>
diff --git a/apache-camel/src/main/descriptors/common-bin.xml 
b/apache-camel/src/main/descriptors/common-bin.xml
index 3ab0c73c6ea..82a5bf14103 100644
--- a/apache-camel/src/main/descriptors/common-bin.xml
+++ b/apache-camel/src/main/descriptors/common-bin.xml
@@ -220,6 +220,7 @@
         <include>org.apache.camel:camel-rabbitmq</include>
         <include>org.apache.camel:camel-reactive-streams</include>
         <include>org.apache.camel:camel-reactor</include>
+        <include>org.apache.camel:camel-rxjava2</include>
         <include>org.apache.camel:camel-restlet</include>
         <include>org.apache.camel:camel-rest-swagger</include>
         <include>org.apache.camel:camel-ribbon</include>
@@ -528,6 +529,7 @@
         <include>org.apache.camel:camel-rabbitmq-starter</include>
         <include>org.apache.camel:camel-reactive-streams-starter</include>
         <include>org.apache.camel:camel-reactor-starter</include>
+        <include>org.apache.camel:camel-rxjava2-starter</include>
         <include>org.apache.camel:camel-restlet-starter</include>
         <include>org.apache.camel:camel-rest-swagger-starter</include>
         <include>org.apache.camel:camel-ribbon-starter</include>
diff --git a/bom/camel-bom/pom.xml b/bom/camel-bom/pom.xml
index b589e03ffc2..9f8ecd3bbc5 100644
--- a/bom/camel-bom/pom.xml
+++ b/bom/camel-bom/pom.xml
@@ -2108,6 +2108,16 @@
         <artifactId>camel-rx-starter</artifactId>
         <version>${project.version}</version>
       </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
+        <artifactId>camel-rxjava2</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
+        <artifactId>camel-rxjava2-starter</artifactId>
+        <version>${project.version}</version>
+      </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-salesforce</artifactId>
diff --git a/components/camel-reactor/src/test/resources/log4j2.properties 
b/components/camel-reactor/src/test/resources/log4j2.properties
index 536f7f60bef..55688f6f004 100644
--- a/components/camel-reactor/src/test/resources/log4j2.properties
+++ b/components/camel-reactor/src/test/resources/log4j2.properties
@@ -17,7 +17,7 @@
 
 appender.file.type = File
 appender.file.name = file
-appender.file.fileName = target/camel-reactive-streams-test.log
+appender.file.fileName = target/camel-reactor-test.log
 appender.file.layout.type = PatternLayout
 appender.file.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
 appender.stdout.type = Console
diff --git a/components/camel-rxjava2/pom.xml b/components/camel-rxjava2/pom.xml
new file mode 100644
index 00000000000..8585f1050cd
--- /dev/null
+++ b/components/camel-rxjava2/pom.xml
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.camel</groupId>
+        <artifactId>components</artifactId>
+        <version>2.22.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>camel-rxjava2</artifactId>
+    <packaging>jar</packaging>
+    <name>Camel :: RxJava2</name>
+    <description>RxJava2 based back-end for Camel's reactive streams 
component</description>
+
+    <properties>
+      <!-- use by camel-catalog -->
+      <firstVersion>2.22.0</firstVersion>
+      <label>reactive,streams</label>
+
+      
<camel.osgi.export.pkg>org.apache.camel.component.rxjava2.*</camel.osgi.export.pkg>
+    </properties>
+
+    <dependencies>
+
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-core</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-reactive-streams</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>org.reactivestreams</groupId>
+            <artifactId>reactive-streams</artifactId>
+            <version>${reactive-streams-version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>io.reactivex.rxjava2</groupId>
+            <artifactId>rxjava</artifactId>
+            <version>${rxjava2-version}</version>
+        </dependency>
+        <dependency>
+            <!-- See https://github.com/ReactiveX/RxJava/issues/5999 -->
+            <groupId>com.github.akarnokd</groupId>
+            <artifactId>rxjava2-extensions</artifactId>
+            <version>${rxjava2-extensions-version}</version>
+        </dependency>
+
+        <!-- test dependencies -->
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-test</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-api</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-slf4j-impl</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.mockito</groupId>
+            <artifactId>mockito-core</artifactId>
+            <version>${mockito-version}</version>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+
+</project>
diff --git a/components/camel-rxjava2/src/main/docs/rxjava2-component.adoc 
b/components/camel-rxjava2/src/main/docs/rxjava2-component.adoc
new file mode 100644
index 00000000000..806301f60d8
--- /dev/null
+++ b/components/camel-rxjava2/src/main/docs/rxjava2-component.adoc
@@ -0,0 +1,16 @@
+## RxJava2 Component
+
+*Available as of Camel version 2.22*
+
+Maven users will need to add the following dependency to their `pom.xml`
+for this component:
+
+[source,xml]
+------------------------------------------------------------
+<dependency>
+    <groupId>org.apache.camel</groupId>
+    <artifactId>camel-rxjava2</artifactId>
+    <version>x.x.x</version>
+    <!-- use the same version as your Camel core version -->
+</dependency>
+------------------------------------------------------------
\ No newline at end of file
diff --git 
a/components/camel-rxjava2/src/main/java/org/apache/camel/component/rxjava2/engine/RxJavaCamelProcessor.java
 
b/components/camel-rxjava2/src/main/java/org/apache/camel/component/rxjava2/engine/RxJavaCamelProcessor.java
new file mode 100644
index 00000000000..adb4de11091
--- /dev/null
+++ 
b/components/camel-rxjava2/src/main/java/org/apache/camel/component/rxjava2/engine/RxJavaCamelProcessor.java
@@ -0,0 +1,120 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.rxjava2.engine;
+
+import java.io.Closeable;
+import java.io.IOException;
+import java.util.Objects;
+import java.util.concurrent.atomic.AtomicReference;
+
+import hu.akarnokd.rxjava2.processors.MulticastProcessor;
+import io.reactivex.BackpressureStrategy;
+import io.reactivex.Flowable;
+import io.reactivex.FlowableEmitter;
+import io.reactivex.processors.FlowableProcessor;
+import org.apache.camel.Exchange;
+import 
org.apache.camel.component.reactive.streams.ReactiveStreamsBackpressureStrategy;
+import 
org.apache.camel.component.reactive.streams.ReactiveStreamsDiscardedException;
+import org.apache.camel.component.reactive.streams.ReactiveStreamsHelper;
+import org.apache.camel.component.reactive.streams.ReactiveStreamsProducer;
+import org.apache.camel.util.ObjectHelper;
+import org.reactivestreams.Publisher;
+
+final class RxJavaCamelProcessor implements Closeable {
+    private final String name;
+    private final RxJavaStreamsService service;
+    private final AtomicReference<FlowableEmitter<Exchange>> camelEmitter;
+    private FlowableProcessor<Exchange> publisher;
+    private ReactiveStreamsProducer camelProducer;
+
+    RxJavaCamelProcessor(RxJavaStreamsService service, String name) {
+        this.service = service;
+        this.name = name;
+        this.camelProducer = null;
+        this.camelEmitter = new AtomicReference<>();
+        this.publisher = MulticastProcessor.create(1); // Buffered downstream 
if needed
+    }
+
+    @Override
+    public void close() throws IOException {
+        detach();
+    }
+
+    Publisher<Exchange> getPublisher() {
+        return publisher;
+    }
+
+    synchronized void attach(ReactiveStreamsProducer producer) {
+        Objects.requireNonNull(producer, "producer cannot be null, use the 
detach method");
+
+        if (this.camelProducer != null) {
+            throw new IllegalStateException("A producer is already attached to 
the stream '" + name + "'");
+        }
+
+        if (this.camelProducer != producer) {
+            detach();
+
+            ReactiveStreamsBackpressureStrategy strategy = 
producer.getEndpoint().getBackpressureStrategy();
+            Flowable<Exchange> flow = Flowable.create(camelEmitter::set, 
BackpressureStrategy.MISSING);
+
+            if (ObjectHelper.equal(strategy, 
ReactiveStreamsBackpressureStrategy.OLDEST)) {
+                flow.onBackpressureDrop(this::onBackPressure)
+                    .doAfterNext(this::onItemEmitted)
+                    .subscribe(this.publisher);
+            } else if (ObjectHelper.equal(strategy, 
ReactiveStreamsBackpressureStrategy.LATEST)) {
+                flow.doAfterNext(this::onItemEmitted)
+                    .onBackpressureLatest()
+                    .subscribe(this.publisher);
+            } else {
+                flow.doAfterNext(this::onItemEmitted)
+                    .onBackpressureBuffer()
+                    .subscribe(this.publisher);
+            }
+
+            camelProducer = producer;
+        }
+    }
+
+    synchronized void detach() {
+        this.camelProducer = null;
+        this.camelEmitter.set(null);
+    }
+
+    void send(Exchange exchange) {
+        if (service.isRunAllowed()) {
+            FlowableEmitter<Exchange> emitter = 
ObjectHelper.notNull(camelEmitter.get(), "FlowableEmitter");
+            emitter.onNext(exchange);
+        }
+    }
+
+    // **************************************
+    // Helpers
+    // **************************************
+
+    private void onItemEmitted(Exchange exchange) {
+        if (service.isRunAllowed()) {
+            ReactiveStreamsHelper.invokeDispatchCallback(exchange);
+        }
+    }
+
+    private void onBackPressure(Exchange exchange) {
+        ReactiveStreamsHelper.invokeDispatchCallback(
+            exchange,
+            new ReactiveStreamsDiscardedException("Discarded by back pressure 
strategy", exchange, name)
+        );
+    }
+}
diff --git 
a/components/camel-rxjava2/src/main/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsConstants.java
 
b/components/camel-rxjava2/src/main/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsConstants.java
new file mode 100644
index 00000000000..6f46846d263
--- /dev/null
+++ 
b/components/camel-rxjava2/src/main/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsConstants.java
@@ -0,0 +1,38 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.rxjava2.engine;
+
+import org.apache.camel.AsyncCallback;
+
+/**
+ * Useful constants used in the Camel Reactive Streams component.
+ */
+public final class RxJavaStreamsConstants {
+    public static final String SERVICE_NAME =  "rxjava2";
+
+    /**
+     * An implementation of the {@link AsyncCallback} that does nothing.
+     */
+    public static final AsyncCallback EMPTY_ASYNC_CALLBACK = new 
AsyncCallback() {
+        @Override
+        public void done(boolean doneSync) {
+        }
+    };
+
+    private RxJavaStreamsConstants() {
+    }
+}
diff --git 
a/components/camel-rxjava2/src/main/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsService.java
 
b/components/camel-rxjava2/src/main/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsService.java
new file mode 100644
index 00000000000..6b8cee00965
--- /dev/null
+++ 
b/components/camel-rxjava2/src/main/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsService.java
@@ -0,0 +1,342 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.rxjava2.engine;
+
+import java.util.concurrent.ConcurrentHashMap;
+import java.util.concurrent.ConcurrentMap;
+import java.util.function.Function;
+import java.util.function.Supplier;
+
+import io.reactivex.Flowable;
+import io.reactivex.Single;
+import org.apache.camel.CamelContext;
+import org.apache.camel.Exchange;
+import org.apache.camel.builder.RouteBuilder;
+import 
org.apache.camel.component.reactive.streams.ReactiveStreamsCamelSubscriber;
+import org.apache.camel.component.reactive.streams.ReactiveStreamsConsumer;
+import org.apache.camel.component.reactive.streams.ReactiveStreamsHelper;
+import org.apache.camel.component.reactive.streams.ReactiveStreamsProducer;
+import 
org.apache.camel.component.reactive.streams.api.CamelReactiveStreamsService;
+import org.apache.camel.component.reactive.streams.util.BodyConverter;
+import org.apache.camel.component.reactive.streams.util.ConvertingPublisher;
+import org.apache.camel.component.reactive.streams.util.ConvertingSubscriber;
+import org.apache.camel.component.reactive.streams.util.UnwrapStreamProcessor;
+import org.apache.camel.spi.Synchronization;
+import org.apache.camel.support.ServiceSupport;
+import org.apache.camel.util.function.Suppliers;
+import org.reactivestreams.Publisher;
+import org.reactivestreams.Subscriber;
+
+final class RxJavaStreamsService extends ServiceSupport implements 
CamelReactiveStreamsService {
+    private final CamelContext context;
+    private final Supplier<UnwrapStreamProcessor> 
unwrapStreamProcessorSupplier;
+    private final ConcurrentMap<String, RxJavaCamelProcessor> publishers;
+    private final ConcurrentMap<String, ReactiveStreamsCamelSubscriber> 
subscribers;
+    private final ConcurrentMap<String, String> publishedUriToStream;
+    private final ConcurrentMap<String, String> requestedUriToStream;
+
+    RxJavaStreamsService(CamelContext context) {
+        this.context = context;
+        this.publishers = new ConcurrentHashMap<>();
+        this.subscribers = new ConcurrentHashMap<>();
+        this.publishedUriToStream = new ConcurrentHashMap<>();
+        this.requestedUriToStream = new ConcurrentHashMap<>();
+        this.unwrapStreamProcessorSupplier = 
Suppliers.memorize(UnwrapStreamProcessor::new);
+    }
+
+    @Override
+    public String getId() {
+        return RxJavaStreamsConstants.SERVICE_NAME;
+    }
+
+    // ******************************************
+    // Lifecycle
+    // ******************************************
+
+    @Override
+    public void doStart() throws Exception {
+    }
+
+    @Override
+    public void doStop() throws Exception {
+        for (RxJavaCamelProcessor processor : publishers.values()) {
+            processor.close();
+        }
+        for (ReactiveStreamsCamelSubscriber subscriber : subscribers.values()) 
{
+            subscriber.close();
+        }
+    }
+
+    // ******************************************
+    //
+    // ******************************************
+
+    @Override
+    public Publisher<Exchange> fromStream(String name) {
+        return getCamelProcessor(name).getPublisher();
+    }
+
+    @Override
+    public <T> Publisher<T> fromStream(String name, Class<T> type) {
+        final Publisher<Exchange> publisher = fromStream(name);
+
+        if (Exchange.class.isAssignableFrom(type)) {
+            return Publisher.class.cast(publisher);
+        }
+
+        return 
Flowable.fromPublisher(publisher).map(BodyConverter.forType(type)::apply);
+    }
+
+    @Override
+    public ReactiveStreamsCamelSubscriber streamSubscriber(String name) {
+        return subscribers.computeIfAbsent(name, n -> new 
ReactiveStreamsCamelSubscriber(name));
+    }
+
+    @SuppressWarnings("unchecked")
+    public <T> Subscriber<T> streamSubscriber(String name, Class<T> type) {
+        final Subscriber<Exchange> subscriber = streamSubscriber(name);
+
+        if (Exchange.class.equals(type)) {
+            return Subscriber.class.cast(subscriber);
+        }
+
+        return new ConvertingSubscriber<>(subscriber, context);
+    }
+
+    @Override
+    public Publisher<Exchange> toStream(String name, Object data) {
+        return doRequest(
+            name,
+            ReactiveStreamsHelper.convertToExchange(context, data)
+        );
+    }
+
+    @Override
+    public Function<?, ? extends Publisher<Exchange>> toStream(String name) {
+        return data -> toStream(name, data);
+    }
+
+    @Override
+    public <T> Publisher<T> toStream(String name, Object data, Class<T> type) {
+        return new ConvertingPublisher<>(toStream(name, data), type);
+    }
+
+    @Override
+    public <T> Function<Object, Publisher<T>> toStream(String name, Class<T> 
type) {
+        return data -> toStream(name, data, type);
+    }
+
+    @Override
+    public Publisher<Exchange> from(String uri) {
+        final String name = publishedUriToStream.computeIfAbsent(uri, camelUri 
-> {
+            try {
+                String uuid = context.getUuidGenerator().generateUuid();
+
+                context.addRoutes(new RouteBuilder() {
+                    @Override
+                    public void configure() throws Exception {
+                        from(camelUri).to("reactive-streams:" + uuid);
+                    }
+                });
+
+                return uuid;
+            } catch (Exception e) {
+                throw new IllegalStateException("Unable to create source 
reactive stream from direct URI: " + uri, e);
+            }
+        });
+
+        return fromStream(name);
+    }
+
+    @Override
+    public <T> Publisher<T> from(String name, Class<T> type) {
+        final Publisher<Exchange> publisher = from(name);
+
+        if (Exchange.class.isAssignableFrom(type)) {
+            return Publisher.class.cast(publisher);
+        }
+
+        return 
Flowable.fromPublisher(publisher).map(BodyConverter.forType(type)::apply);
+    }
+
+    @Override
+    public Subscriber<Exchange> subscriber(String uri) {
+        try {
+            String uuid = context.getUuidGenerator().generateUuid();
+            context.addRoutes(new RouteBuilder() {
+                @Override
+                public void configure() throws Exception {
+                    from("reactive-streams:" + uuid)
+                        .to(uri);
+                }
+            });
+
+            return streamSubscriber(uuid);
+        } catch (Exception e) {
+            throw new IllegalStateException("Unable to create source reactive 
stream towards direct URI: " + uri, e);
+        }
+    }
+
+    @Override
+    public <T> Subscriber<T> subscriber(String uri, Class<T> type) {
+        return new ConvertingSubscriber<>(subscriber(uri), context);
+    }
+
+    @Override
+    public Publisher<Exchange> to(String uri, Object data) {
+        String streamName = requestedUriToStream.computeIfAbsent(uri, camelUri 
-> {
+            try {
+                String uuid = context.getUuidGenerator().generateUuid();
+                context.addRoutes(new RouteBuilder() {
+                    @Override
+                    public void configure() throws Exception {
+                        from("reactive-streams:" + uuid)
+                            .to(camelUri);
+                    }
+                });
+
+                return uuid;
+            } catch (Exception e) {
+                throw new IllegalStateException("Unable to create requested 
reactive stream from direct URI: " + uri, e);
+            }
+        });
+
+        return toStream(streamName, data);
+    }
+
+    @Override
+    public Function<Object, Publisher<Exchange>> to(String uri) {
+        return data -> to(uri, data);
+    }
+
+    @Override
+    public <T> Publisher<T> to(String uri, Object data, Class<T> type) {
+        Publisher<Exchange> publisher = to(uri, data);
+
+        return 
Flowable.fromPublisher(publisher).map(BodyConverter.forType(type)::apply);
+    }
+
+    @Override
+    public <T> Function<Object, Publisher<T>> to(String uri, Class<T> type) {
+        return data -> to(uri, data, type);
+    }
+
+    @Override
+    public void process(String uri, Function<? super Publisher<Exchange>, ?> 
processor) {
+        try {
+            context.addRoutes(new RouteBuilder() {
+                @Override
+                public void configure() throws Exception {
+                    from(uri)
+                        .process(exchange -> {
+                            Exchange copy = exchange.copy();
+                            Object result = 
processor.apply(Flowable.just(copy));
+                            exchange.getIn().setBody(result);
+                        })
+                        .process(unwrapStreamProcessorSupplier.get());
+                }
+            });
+        } catch (Exception e) {
+            throw new IllegalStateException("Unable to add reactive stream 
processor to the direct URI: " + uri, e);
+        }
+    }
+
+    @Override
+    public <T> void process(String uri, Class<T> type, Function<? super 
Publisher<T>, ?> processor) {
+        process(
+            uri,
+            publisher -> processor.apply(
+                
Flowable.fromPublisher(publisher).map(BodyConverter.forType(type)::apply)
+            )
+        );
+    }
+
+    // ******************************************
+    // Producer
+    // ******************************************
+
+    @Override
+    public void attachCamelProducer(String name, ReactiveStreamsProducer 
producer) {
+        getCamelProcessor(name).attach(producer);
+    }
+
+    @Override
+    public void detachCamelProducer(String name) {
+        getCamelProcessor(name).detach();
+    }
+
+    @Override
+    public void sendCamelExchange(String name, Exchange exchange) {
+        getCamelProcessor(name).send(exchange);
+    }
+
+    private RxJavaCamelProcessor getCamelProcessor(String name) {
+        return publishers.computeIfAbsent(name, key -> new 
RxJavaCamelProcessor(this, key));
+    }
+
+    // ******************************************
+    // Consumer
+    // ******************************************
+
+    @Override
+    public ReactiveStreamsCamelSubscriber attachCamelConsumer(String name, 
ReactiveStreamsConsumer consumer) {
+        ReactiveStreamsCamelSubscriber subscriber = streamSubscriber(name);
+        subscriber.attachConsumer(consumer);
+
+        return subscriber;
+    }
+
+    @Override
+    public void detachCamelConsumer(String name) {
+        ReactiveStreamsCamelSubscriber subscriber = streamSubscriber(name);
+        subscriber.detachConsumer();
+    }
+
+    // *******************************************
+    // Helpers
+    // *******************************************
+
+    protected Publisher<Exchange> doRequest(String name, Exchange data) {
+        ReactiveStreamsConsumer consumer = 
streamSubscriber(name).getConsumer();
+        if (consumer == null) {
+            throw new IllegalStateException("No consumers attached to the 
stream " + name);
+        }
+
+        Single<Exchange> source = Single.<Exchange>create(
+            emitter -> data.addOnCompletion(new Synchronization() {
+                @Override
+                public void onComplete(Exchange exchange) {
+                    emitter.onSuccess(exchange);
+                }
+
+                @Override
+                public void onFailure(Exchange exchange) {
+                    Throwable throwable = exchange.getException();
+                    if (throwable == null) {
+                        throwable = new IllegalStateException("Unknown 
Exception");
+                    }
+
+                    emitter.onError(throwable);
+                }
+            })
+        ).doOnSubscribe(
+            subs -> consumer.process(data, 
RxJavaStreamsConstants.EMPTY_ASYNC_CALLBACK)
+        );
+
+        return source.toFlowable();
+    }
+}
diff --git 
a/components/camel-rxjava2/src/main/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceFactory.java
 
b/components/camel-rxjava2/src/main/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceFactory.java
new file mode 100644
index 00000000000..2f0b11be83e
--- /dev/null
+++ 
b/components/camel-rxjava2/src/main/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceFactory.java
@@ -0,0 +1,29 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.rxjava2.engine;
+
+import org.apache.camel.CamelContext;
+import 
org.apache.camel.component.reactive.streams.api.CamelReactiveStreamsService;
+import 
org.apache.camel.component.reactive.streams.api.CamelReactiveStreamsServiceFactory;
+import 
org.apache.camel.component.reactive.streams.engine.ReactiveStreamsEngineConfiguration;
+
+public class RxJavaStreamsServiceFactory implements 
CamelReactiveStreamsServiceFactory {
+    @Override
+    public CamelReactiveStreamsService newInstance(CamelContext context, 
ReactiveStreamsEngineConfiguration configuration) {
+        return new RxJavaStreamsService(context);
+    }
+}
diff --git a/components/camel-rxjava2/src/main/resources/META-INF/LICENSE.txt 
b/components/camel-rxjava2/src/main/resources/META-INF/LICENSE.txt
new file mode 100644
index 00000000000..6b0b1270ff0
--- /dev/null
+++ b/components/camel-rxjava2/src/main/resources/META-INF/LICENSE.txt
@@ -0,0 +1,203 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
diff --git a/components/camel-rxjava2/src/main/resources/META-INF/NOTICE.txt 
b/components/camel-rxjava2/src/main/resources/META-INF/NOTICE.txt
new file mode 100644
index 00000000000..2e215bf2e6b
--- /dev/null
+++ b/components/camel-rxjava2/src/main/resources/META-INF/NOTICE.txt
@@ -0,0 +1,11 @@
+   =========================================================================
+   ==  NOTICE file corresponding to the section 4 d of                    ==
+   ==  the Apache License, Version 2.0,                                   ==
+   ==  in this case for the Apache Camel distribution.                    ==
+   =========================================================================
+
+   This product includes software developed by
+   The Apache Software Foundation (http://www.apache.org/).
+
+   Please read the different LICENSE files present in the licenses directory of
+   this distribution.
diff --git 
a/components/camel-rxjava2/src/main/resources/META-INF/services/org/apache/camel/reactive-streams/rxjava2
 
b/components/camel-rxjava2/src/main/resources/META-INF/services/org/apache/camel/reactive-streams/rxjava2
new file mode 100644
index 00000000000..8003909e805
--- /dev/null
+++ 
b/components/camel-rxjava2/src/main/resources/META-INF/services/org/apache/camel/reactive-streams/rxjava2
@@ -0,0 +1,17 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+class=org.apache.camel.component.rxjava2.engine.RxJavaStreamsServiceFactory
\ No newline at end of file
diff --git 
a/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceBackpressureTest.java
 
b/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceBackpressureTest.java
new file mode 100644
index 00000000000..38a6fc38e93
--- /dev/null
+++ 
b/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceBackpressureTest.java
@@ -0,0 +1,165 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.rxjava2.engine;
+
+import java.util.concurrent.ConcurrentLinkedQueue;
+import java.util.concurrent.CountDownLatch;
+import java.util.concurrent.TimeUnit;
+
+import io.reactivex.Flowable;
+import org.apache.camel.Exchange;
+import org.apache.camel.builder.RouteBuilder;
+import 
org.apache.camel.component.reactive.streams.ReactiveStreamsBackpressureStrategy;
+import org.apache.camel.component.rxjava2.engine.suport.TestSubscriber;
+import org.junit.Assert;
+import org.junit.Test;
+
+public class RxJavaStreamsServiceBackpressureTest extends 
RxJavaStreamsServiceTestSupport {
+
+    @Test
+    public void testBufferStrategy() throws Exception {
+        
getReactiveStreamsComponent().setBackpressureStrategy(ReactiveStreamsBackpressureStrategy.BUFFER);
+
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("timer:gen?period=20&repeatCount=20")
+                    .setBody()
+                    .header(Exchange.TIMER_COUNTER)
+                    .to("reactive-streams:integers");
+            }
+        });
+
+        Flowable<Integer> integers = 
Flowable.fromPublisher(crs.fromStream("integers", Integer.class));
+        ConcurrentLinkedQueue<Integer> queue = new ConcurrentLinkedQueue<>();
+        CountDownLatch latch = new CountDownLatch(1);
+
+        Flowable.range(0, 50)
+            .zipWith(integers, (l, i) -> i)
+            .timeout(2000, TimeUnit.MILLISECONDS, Flowable.empty())
+            .doOnComplete(latch::countDown)
+            .subscribe(queue::add);
+
+        context.start();
+
+        Assert.assertTrue(latch.await(5, TimeUnit.SECONDS));
+        Assert.assertEquals(20, queue.size());
+
+        int num = 1;
+        for (int i : queue) {
+            Assert.assertEquals(num++, i);
+        }
+    }
+
+    @Test
+    public void testDropStrategy() throws Exception {
+        
getReactiveStreamsComponent().setBackpressureStrategy(ReactiveStreamsBackpressureStrategy.OLDEST);
+
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("timer:gen?period=20&repeatCount=20")
+                    .setBody()
+                    .header(Exchange.TIMER_COUNTER)
+                    .to("reactive-streams:integers");
+            }
+        });
+
+        final ConcurrentLinkedQueue<Integer> queue = new 
ConcurrentLinkedQueue<>();
+        final CountDownLatch latch = new CountDownLatch(1);
+        final CountDownLatch latch2 = new CountDownLatch(2);
+
+        TestSubscriber<Integer> subscriber = new TestSubscriber<Integer>() {
+            @Override
+            public void onNext(Integer o) {
+                queue.add(o);
+                latch.countDown();
+                latch2.countDown();
+            }
+        };
+
+        subscriber.setInitiallyRequested(1);
+
+        crs.fromStream("integers", Integer.class).subscribe(subscriber);
+        context.start();
+
+        Assert.assertTrue(latch.await(5, TimeUnit.SECONDS));
+        Thread.sleep(1000); // wait for all numbers to be generated
+
+        subscriber.request(19);
+        Assert.assertTrue(latch2.await(1, TimeUnit.SECONDS));
+
+        Thread.sleep(200); // add other time to ensure no other items arrive
+        Assert.assertEquals(2, queue.size());
+
+        int sum = queue.stream().reduce((i, j) -> i + j).get();
+        Assert.assertEquals(3, sum); // 1 + 2 = 3
+
+        subscriber.cancel();
+    }
+
+    @Test
+    public void testLatestStrategy() throws Exception {
+        
getReactiveStreamsComponent().setBackpressureStrategy(ReactiveStreamsBackpressureStrategy.LATEST);
+
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("timer:gen?period=20&repeatCount=20")
+                    .setBody()
+                    .header(Exchange.TIMER_COUNTER)
+                    .to("reactive-streams:integers");
+            }
+        });
+
+        final ConcurrentLinkedQueue<Integer> queue = new 
ConcurrentLinkedQueue<>();
+        final CountDownLatch latch1 = new CountDownLatch(1);
+        final CountDownLatch latch2 = new CountDownLatch(2);
+
+        TestSubscriber<Integer> subscriber = new TestSubscriber<Integer>() {
+            @Override
+            public void onNext(Integer o) {
+                queue.add(o);
+                latch1.countDown();
+                latch2.countDown();
+            }
+        };
+
+        subscriber.setInitiallyRequested(1);
+
+        crs.fromStream("integers", Integer.class).subscribe(subscriber);
+        context.start();
+
+        Assert.assertTrue(latch1.await(5, TimeUnit.SECONDS));
+        Thread.sleep(1000); // wait for all numbers to be generated
+
+        subscriber.request(19);
+        Assert.assertTrue(latch2.await(1, TimeUnit.SECONDS));
+
+        Thread.sleep(200); // add other time to ensure no other items arrive
+
+        // TODO: the chain caches two elements instead of one: change it if 
you find an EmitterProcessor without prefetch
+        // Assert.assertEquals(2, queue.size());
+        Assert.assertEquals(3, queue.size());
+
+        int sum = queue.stream().reduce((i, j) -> i + j).get();
+        // Assert.assertEquals(21, sum); // 1 + 20 = 21
+        Assert.assertEquals(23, sum); // 1 + 2 + 20 = 23
+
+        subscriber.cancel();
+    }
+}
diff --git 
a/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceEventTypeTest.java
 
b/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceEventTypeTest.java
new file mode 100644
index 00000000000..b3f4bb4a8f7
--- /dev/null
+++ 
b/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceEventTypeTest.java
@@ -0,0 +1,164 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.rxjava2.engine;
+
+import io.reactivex.Flowable;
+import org.apache.camel.Exchange;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.mock.MockEndpoint;
+import org.apache.camel.component.reactive.streams.ReactiveStreamsConstants;
+import org.junit.Assert;
+import org.junit.Test;
+import org.reactivestreams.Subscriber;
+
+public class RxJavaStreamsServiceEventTypeTest extends 
RxJavaStreamsServiceTestSupport {
+
+    @Test
+    public void testOnCompleteHeaderForwarded() throws Exception {
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("reactive-streams:numbers?forwardOnComplete=true")
+                    .to("mock:endpoint");
+            }
+        });
+
+        Subscriber<Integer> numbers = crs.streamSubscriber("numbers", 
Integer.class);
+
+        context.start();
+
+        Flowable.<Integer>empty().subscribe(numbers);
+
+        MockEndpoint endpoint = getMockEndpoint("mock:endpoint");
+        endpoint.expectedMessageCount(1);
+        
endpoint.expectedHeaderReceived(ReactiveStreamsConstants.REACTIVE_STREAMS_EVENT_TYPE,
 "onComplete");
+        endpoint.expectedBodiesReceived(new Object[]{null});
+        endpoint.assertIsSatisfied();
+    }
+
+    @Test
+    public void testOnCompleteHeaderNotForwarded() throws Exception {
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("reactive-streams:numbers")
+                    .to("mock:endpoint");
+            }
+        });
+
+        Subscriber<Integer> numbers = crs.streamSubscriber("numbers", 
Integer.class);
+
+        context.start();
+
+        Flowable.<Integer>empty().subscribe(numbers);
+
+        MockEndpoint endpoint = getMockEndpoint("mock:endpoint");
+        endpoint.expectedMessageCount(0);
+        endpoint.assertIsSatisfied(200);
+    }
+
+    @Test
+    public void testOnNextHeaderForwarded() throws Exception {
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("reactive-streams:numbers")
+                    .to("mock:endpoint");
+            }
+        });
+
+        Subscriber<Integer> numbers = crs.streamSubscriber("numbers", 
Integer.class);
+
+        context.start();
+
+        Flowable.just(1).subscribe(numbers);
+
+        MockEndpoint endpoint = getMockEndpoint("mock:endpoint");
+        
endpoint.expectedHeaderReceived(ReactiveStreamsConstants.REACTIVE_STREAMS_EVENT_TYPE,
 "onNext");
+        endpoint.expectedMessageCount(1);
+        endpoint.assertIsSatisfied();
+
+        Exchange ex = endpoint.getExchanges().get(0);
+        Assert.assertEquals(1, ex.getIn().getBody());
+    }
+
+    @Test
+    public void testOnErrorHeaderForwarded() throws Exception {
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("reactive-streams:numbers?forwardOnError=true")
+                    .to("mock:endpoint");
+            }
+        });
+
+        Subscriber<Integer> numbers = crs.streamSubscriber("numbers", 
Integer.class);
+
+        context.start();
+
+        RuntimeException ex = new RuntimeException("1");
+
+        Flowable.just(1)
+            .map(n -> {
+                if (n == 1) {
+                    throw ex;
+                }
+                return n;
+            })
+            .subscribe(numbers);
+
+
+        MockEndpoint endpoint = getMockEndpoint("mock:endpoint");
+        endpoint.expectedMessageCount(1);
+        
endpoint.expectedHeaderReceived(ReactiveStreamsConstants.REACTIVE_STREAMS_EVENT_TYPE,
 "onError");
+        endpoint.assertIsSatisfied();
+
+        Exchange exch = endpoint.getExchanges().get(0);
+        Assert.assertEquals(ex, exch.getIn().getBody());
+    }
+
+    @Test
+    public void testOnErrorHeaderNotForwarded() throws Exception {
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("reactive-streams:numbers")
+                    .to("mock:endpoint");
+            }
+        });
+
+        Subscriber<Integer> numbers = crs.streamSubscriber("numbers", 
Integer.class);
+
+        context.start();
+
+        RuntimeException ex = new RuntimeException("1");
+
+        Flowable.just(1)
+            .map(n -> {
+                if (n == 1) {
+                    throw ex;
+                }
+                return n;
+            })
+            .subscribe(numbers);
+
+
+        MockEndpoint endpoint = getMockEndpoint("mock:endpoint");
+        endpoint.expectedMessageCount(0);
+        endpoint.assertIsSatisfied(200);
+    }
+}
diff --git 
a/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceSubscriberTest.java
 
b/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceSubscriberTest.java
new file mode 100644
index 00000000000..8c9632a26d2
--- /dev/null
+++ 
b/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceSubscriberTest.java
@@ -0,0 +1,151 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.rxjava2.engine;
+
+import java.util.concurrent.atomic.AtomicLong;
+
+import io.reactivex.Flowable;
+import org.apache.camel.Exchange;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.mock.MockEndpoint;
+import org.junit.Assert;
+import org.junit.Test;
+import org.reactivestreams.Publisher;
+import org.reactivestreams.Subscriber;
+
+public class RxJavaStreamsServiceSubscriberTest extends 
RxJavaStreamsServiceTestSupport {
+
+    @Test
+    public void testSubscriber() throws Exception {
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("reactive-streams:sub1")
+                    .to("mock:sub1");
+                from("reactive-streams:sub2")
+                    .to("mock:sub2");
+                from("timer:tick?period=50")
+                    .setBody()
+                        .simple("random(500)")
+                    .to("mock:sub3")
+                    .to("reactive-streams:pub");
+            }
+        });
+
+        Subscriber<Integer> sub1 = crs.streamSubscriber("sub1", Integer.class);
+        Subscriber<Integer> sub2 = crs.streamSubscriber("sub2", Integer.class);
+        Publisher<Integer> pub = crs.fromStream("pub", Integer.class);
+
+        pub.subscribe(sub1);
+        pub.subscribe(sub2);
+
+        context.start();
+
+        int count = 2;
+
+        MockEndpoint e1 = getMockEndpoint("mock:sub1");
+        e1.expectedMinimumMessageCount(count);
+        e1.assertIsSatisfied();
+
+        MockEndpoint e2 = getMockEndpoint("mock:sub2");
+        e2.expectedMinimumMessageCount(count);
+        e2.assertIsSatisfied();
+
+        MockEndpoint e3 = getMockEndpoint("mock:sub3");
+        e3.expectedMinimumMessageCount(count);
+        e3.assertIsSatisfied();
+
+        for (int i = 0; i < count; i++) {
+            Exchange ex1 = e1.getExchanges().get(i);
+            Exchange ex2 = e2.getExchanges().get(i);
+            Exchange ex3 = e3.getExchanges().get(i);
+
+            assertEquals(ex1.getIn().getBody(), ex2.getIn().getBody());
+            assertEquals(ex1.getIn().getBody(), ex3.getIn().getBody());
+        }
+    }
+
+    @Test
+    public void testSingleConsumer() throws Exception {
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("reactive-streams:singleConsumer")
+                    .process()
+                        .message(m -> m.setHeader("thread", 
Thread.currentThread().getId()))
+                    .to("mock:singleBucket");
+            }
+        });
+
+        context.start();
+
+        Flowable.range(0, 1000).subscribe(
+            crs.streamSubscriber("singleConsumer", Number.class)
+        );
+
+        MockEndpoint endpoint = getMockEndpoint("mock:singleBucket");
+        endpoint.expectedMessageCount(1000);
+        endpoint.assertIsSatisfied();
+
+        Assert.assertEquals(
+            1,
+            endpoint.getExchanges().stream()
+                .map(x -> x.getIn().getHeader("thread", String.class))
+                .distinct()
+                .count()
+        );
+
+        // Ensure order is preserved when using a single consumer
+        AtomicLong num = new AtomicLong(0);
+
+        endpoint.getExchanges().stream()
+            .map(x -> x.getIn().getBody(Long.class))
+            .forEach(n -> Assert.assertEquals(num.getAndIncrement(), 
n.longValue()));
+    }
+
+    @Test
+    public void testMultipleConsumers() throws Exception {
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                
from("reactive-streams:multipleConsumers?concurrentConsumers=3")
+                    .process()
+                        .message(m -> m.setHeader("thread", 
Thread.currentThread().getId()))
+                    .to("mock:multipleBucket");
+            }
+        });
+
+        context.start();
+
+        Flowable.range(0, 1000).subscribe(
+            crs.streamSubscriber("multipleConsumers", Number.class)
+        );
+
+        MockEndpoint endpoint = getMockEndpoint("mock:multipleBucket");
+        endpoint.expectedMessageCount(1000);
+        endpoint.assertIsSatisfied();
+
+        Assert.assertEquals(
+            3,
+            endpoint.getExchanges().stream()
+                .map(x -> x.getIn().getHeader("thread", String.class))
+                .distinct()
+                .count()
+        );
+        // Order cannot be preserved when using multiple consumers
+    }
+}
diff --git 
a/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceTest.java
 
b/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceTest.java
new file mode 100644
index 00000000000..71fee035d76
--- /dev/null
+++ 
b/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceTest.java
@@ -0,0 +1,402 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.rxjava2.engine;
+
+import java.util.concurrent.CountDownLatch;
+import java.util.concurrent.TimeUnit;
+import java.util.concurrent.atomic.AtomicInteger;
+import java.util.function.Function;
+
+import io.reactivex.Flowable;
+import io.reactivex.disposables.Disposable;
+import org.apache.camel.Exchange;
+import org.apache.camel.ProducerTemplate;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.mock.MockEndpoint;
+import org.apache.camel.impl.DefaultExchange;
+import org.apache.camel.impl.JndiRegistry;
+import org.apache.camel.util.ExchangeHelper;
+import org.junit.Assert;
+import org.junit.Test;
+import org.reactivestreams.Publisher;
+
+public class RxJavaStreamsServiceTest extends RxJavaStreamsServiceTestSupport {
+    
+    // ************************************************
+    // Setup
+    // ************************************************
+
+    @Override
+    protected JndiRegistry createRegistry() throws Exception {
+        JndiRegistry registry = super.createRegistry();
+        registry.bind("hello", new SampleBean());
+
+        return registry;
+    }
+
+    public static class SampleBean {
+        public String hello(String name) {
+            return "Hello " + name;
+        }
+    }
+
+    // ************************************************
+    // fromStream/from
+    // ************************************************
+
+    @Test
+    public void testFromStreamDirect() throws Exception {
+        context.addRoutes(new RouteBuilder() {
+            public void configure() {
+                from("direct:reactive")
+                    .to("reactive-streams:numbers");
+            }
+        });
+
+        context.start();
+        ProducerTemplate template = context.createProducerTemplate();
+
+        AtomicInteger value = new AtomicInteger(0);
+
+        Flowable.fromPublisher(crs.fromStream("numbers", Integer.class))
+            .doOnNext(res -> Assert.assertEquals(value.incrementAndGet(), 
res.intValue()))
+            .subscribe();
+
+        template.sendBody("direct:reactive", 1);
+        template.sendBody("direct:reactive", 2);
+        template.sendBody("direct:reactive", 3);
+    }
+
+    @Test
+    public void testFromStreamTimer() throws Exception {
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("timer:tick?period=5&repeatCount=30")
+                    .setBody()
+                        .header(Exchange.TIMER_COUNTER)
+                    .to("reactive-streams:tick");
+            }
+        });
+
+        final int num = 30;
+        final CountDownLatch latch = new CountDownLatch(num);
+        final AtomicInteger value = new AtomicInteger(0);
+
+        Flowable.fromPublisher(crs.fromStream("tick", Integer.class))
+            .doOnNext(res -> Assert.assertEquals(value.incrementAndGet(), 
res.intValue()))
+            .doOnNext(n -> latch.countDown())
+            .subscribe();
+
+        context.start();
+
+        latch.await(5, TimeUnit.SECONDS);
+
+        Assert.assertEquals(num, value.get());
+    }
+
+    @Test
+    public void testFromStreamMultipleSubscriptionsWithDirect() throws 
Exception {
+        context.start();
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("direct:reactive")
+                    .to("reactive-streams:direct");
+            }
+        });
+
+        CountDownLatch latch1 = new CountDownLatch(2);
+        Flowable.fromPublisher(crs.fromStream("direct", Integer.class))
+            .doOnNext(res -> latch1.countDown())
+            .subscribe();
+
+        CountDownLatch latch2 = new CountDownLatch(2);
+        Flowable.fromPublisher(crs.fromStream("direct", Integer.class))
+            .doOnNext(res -> latch2.countDown())
+            .subscribe();
+
+        template.sendBody("direct:reactive", 1);
+        template.sendBody("direct:reactive", 2);
+
+        Assert.assertTrue(latch1.await(5, TimeUnit.SECONDS));
+        Assert.assertTrue(latch2.await(5, TimeUnit.SECONDS));
+    }
+
+    @Test
+    public void testMultipleSubscriptionsWithTimer() throws Exception {
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("timer:tick?period=50")
+                    .setBody().header(Exchange.TIMER_COUNTER)
+                    .to("reactive-streams:tick");
+            }
+        });
+
+        CountDownLatch latch1 = new CountDownLatch(5);
+        Disposable disp1 = Flowable.fromPublisher(crs.fromStream("tick", 
Integer.class)).subscribe(res -> latch1.countDown());
+
+        context.start();
+
+        // Add another subscription
+        CountDownLatch latch2 = new CountDownLatch(5);
+        Disposable disp2 = Flowable.fromPublisher(crs.fromStream("tick", 
Integer.class)).subscribe(res -> latch2.countDown());
+
+        assertTrue(latch1.await(5, TimeUnit.SECONDS));
+        assertTrue(latch2.await(5, TimeUnit.SECONDS));
+
+        // Un subscribe both
+        disp1.dispose();
+        disp2.dispose();
+
+        // No active subscriptions, warnings expected
+        Thread.sleep(60);
+
+        // Add another subscription
+        CountDownLatch latch3 = new CountDownLatch(5);
+        Disposable disp3 = Flowable.fromPublisher(crs.fromStream("tick", 
Integer.class)).subscribe(res -> latch3.countDown());
+
+        assertTrue(latch3.await(5, TimeUnit.SECONDS));
+        disp3.dispose();
+    }
+
+    @Test
+    public void testFrom() throws Exception {
+        context.start();
+
+        Publisher<Exchange> timer = 
crs.from("timer:reactive?period=250&repeatCount=3");
+
+        AtomicInteger value = new AtomicInteger(0);
+        CountDownLatch latch = new CountDownLatch(3);
+
+        Flowable.fromPublisher(timer)
+            .map(exchange -> ExchangeHelper.getHeaderOrProperty(exchange, 
Exchange.TIMER_COUNTER, Integer.class))
+            .doOnNext(res -> Assert.assertEquals(value.incrementAndGet(), 
res.intValue()))
+            .doOnNext(res -> latch.countDown())
+            .subscribe();
+
+        Assert.assertTrue(latch.await(2, TimeUnit.SECONDS));
+    }
+
+    // ************************************************
+    // fromPublisher
+    // ************************************************
+
+    @Test
+    public void testFromPublisher() throws Exception {
+        context.start();
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("direct:source")
+                    .to("direct:stream")
+                    .setBody()
+                        .simple("after stream: ${body}");
+            }
+        });
+
+        crs.process("direct:stream",
+            publisher ->
+                Flowable.fromPublisher(publisher)
+                    .map(e -> {
+                        int i = e.getIn().getBody(Integer.class);
+                        e.getOut().setBody(-i);
+
+                        return e;
+                    }
+                )
+        );
+
+        for (int i = 1; i <= 3; i++) {
+            Assert.assertEquals(
+                "after stream: " + (-i),
+                template.requestBody("direct:source", i, String.class)
+            );
+        }
+    }
+
+    @Test
+    public void testFromPublisherWithConversion() throws Exception {
+        context.start();
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("direct:source")
+                    .to("direct:stream")
+                    .setBody()
+                        .simple("after stream: ${body}");
+            }
+        });
+
+        crs.process("direct:stream",
+            Integer.class,
+            publisher ->
+                Flowable.fromPublisher(publisher).map(Math::negateExact)
+        );
+
+        for (int i = 1; i <= 3; i++) {
+            Assert.assertEquals(
+                "after stream: " + (-i),
+                template.requestBody("direct:source", i, String.class)
+            );
+        }
+    }
+
+    // ************************************************
+    // toStream/to
+    // ************************************************
+
+    @Test
+    public void testToStream() throws Exception {
+        context.addRoutes(new RouteBuilder() {
+            public void configure() {
+                from("reactive-streams:reactive")
+                    .setBody().constant("123");
+            }
+        });
+
+        context.start();
+
+        Publisher<Exchange> publisher = crs.toStream("reactive", new 
DefaultExchange(context));
+        Exchange res = Flowable.fromPublisher(publisher).blockingFirst();
+
+        Assert.assertNotNull(res);
+
+        String content = res.getIn().getBody(String.class);
+
+        Assert.assertNotNull(content);
+        Assert.assertEquals("123", content);
+    }
+
+    @Test
+    public void testTo() throws Exception {
+        context.start();
+
+        AtomicInteger value = new AtomicInteger(0);
+        CountDownLatch latch = new CountDownLatch(1);
+
+        Flowable.just(1, 2, 3)
+            .flatMap(e -> crs.to("bean:hello", e, String.class))
+            .doOnNext(res -> Assert.assertEquals("Hello " + 
value.incrementAndGet(), res))
+            .doOnNext(res -> latch.countDown())
+            .subscribe();
+
+        Assert.assertTrue(latch.await(2, TimeUnit.SECONDS));
+    }
+
+    @Test
+    public void testToWithExchange() throws Exception {
+        context.start();
+
+        AtomicInteger value = new AtomicInteger(0);
+        CountDownLatch latch = new CountDownLatch(1);
+
+        Flowable.just(1, 2, 3)
+            .flatMap(e -> crs.to("bean:hello", e))
+            .map(e -> e.getOut())
+            .map(e -> e.getBody(String.class))
+            .doOnNext(res -> Assert.assertEquals("Hello " + 
value.incrementAndGet(), res))
+            .doOnNext(res -> latch.countDown())
+            .subscribe();
+
+        Assert.assertTrue(latch.await(2, TimeUnit.SECONDS));
+    }
+
+    @Test
+    public void testToFunction() throws Exception {
+        context.start();
+
+        AtomicInteger value = new AtomicInteger(0);
+        CountDownLatch latch = new CountDownLatch(1);
+        Function<Object, Publisher<String>> fun = crs.to("bean:hello", 
String.class);
+
+        Flowable.just(1, 2, 3)
+            .flatMap(fun::apply)
+            .doOnNext(res -> Assert.assertEquals("Hello " + 
value.incrementAndGet(), res))
+            .doOnNext(res -> latch.countDown())
+            .subscribe();
+
+        Assert.assertTrue(latch.await(2, TimeUnit.SECONDS));
+    }
+
+    @Test
+    public void testToFunctionWithExchange() throws Exception {
+        context.start();
+
+        AtomicInteger value = new AtomicInteger(0);
+        CountDownLatch latch = new CountDownLatch(1);
+        Function<Object, Publisher<Exchange>> fun = crs.to("bean:hello");
+
+        Flowable.just(1, 2, 3)
+            .flatMap(fun::apply)
+            .map(e -> e.getOut())
+            .map(e -> e.getBody(String.class))
+            .doOnNext(res -> Assert.assertEquals("Hello " + 
value.incrementAndGet(), res))
+            .doOnNext(res -> latch.countDown())
+            .subscribe();
+
+        Assert.assertTrue(latch.await(2, TimeUnit.SECONDS));
+    }
+
+    // ************************************************
+    // subscriber
+    // ************************************************
+
+    @Test
+    public void testSubscriber() throws Exception {
+        context.start();
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("direct:reactor")
+                    .to("mock:result");
+            }
+        });
+
+        Flowable.just(1, 2, 3)
+            .subscribe(crs.subscriber("direct:reactor", Integer.class));
+
+        MockEndpoint mock = getMockEndpoint("mock:result");
+        mock.expectedMessageCount(3);
+        mock.assertIsSatisfied();
+
+        int idx = 1;
+        for (Exchange ex : mock.getExchanges()) {
+            Assert.assertEquals(new Integer(idx++), 
ex.getIn().getBody(Integer.class));
+        }
+    }
+
+    // ************************************************
+    // misc
+    // ************************************************
+
+    @Test(expected = IllegalStateException.class)
+    public void testOnlyOneCamelProducerPerPublisher() throws Exception {
+        context.addRoutes(new RouteBuilder() {
+            @Override
+            public void configure() throws Exception {
+                from("direct:one")
+                    .to("reactive-streams:stream");
+                from("direct:two")
+                    .to("reactive-streams:stream");
+            }
+        });
+
+        context.start();
+    }
+}
diff --git 
a/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceTestSupport.java
 
b/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceTestSupport.java
new file mode 100644
index 00000000000..4ce1dd23541
--- /dev/null
+++ 
b/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/RxJavaStreamsServiceTestSupport.java
@@ -0,0 +1,59 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.rxjava2.engine;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.component.reactive.streams.ReactiveStreamsComponent;
+import org.apache.camel.component.reactive.streams.ReactiveStreamsConstants;
+import org.apache.camel.component.reactive.streams.api.CamelReactiveStreams;
+import 
org.apache.camel.component.reactive.streams.api.CamelReactiveStreamsService;
+import org.apache.camel.test.junit4.CamelTestSupport;
+import org.apache.camel.util.ObjectHelper;
+
+class RxJavaStreamsServiceTestSupport extends CamelTestSupport {
+    protected CamelReactiveStreamsService crs;
+
+    @Override
+    protected CamelContext createCamelContext() throws Exception {
+        CamelContext context = super.createCamelContext();
+
+        context.addComponent(
+            ReactiveStreamsConstants.SCHEME,
+            
ReactiveStreamsComponent.withServiceType(RxJavaStreamsConstants.SERVICE_NAME)
+        );
+
+        return context;
+    }
+
+    @Override
+    protected void doPostSetup() throws Exception {
+        this.crs = CamelReactiveStreams.get(context);
+    }
+
+    @Override
+    public boolean isUseRouteBuilder() {
+        // You need to start the context if "use route builder" is set to false
+        return false;
+    }
+
+    protected ReactiveStreamsComponent getReactiveStreamsComponent() {
+        return ObjectHelper.notNull(
+            context.getComponent(ReactiveStreamsConstants.SCHEME, 
ReactiveStreamsComponent.class),
+            ReactiveStreamsConstants.SCHEME
+        );
+    }
+}
diff --git 
a/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/suport/TestSubscriber.java
 
b/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/suport/TestSubscriber.java
new file mode 100644
index 00000000000..a50eac9b898
--- /dev/null
+++ 
b/components/camel-rxjava2/src/test/java/org/apache/camel/component/rxjava2/engine/suport/TestSubscriber.java
@@ -0,0 +1,73 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.rxjava2.engine.suport;
+
+import org.reactivestreams.Subscriber;
+import org.reactivestreams.Subscription;
+
+/**
+ * A subscriber for tests.
+ */
+public class TestSubscriber<T> implements Subscriber<T> {
+
+    protected Subscription subscription;
+
+    private long initiallyRequested;
+
+    public TestSubscriber() {
+    }
+
+    public long getInitiallyRequested() {
+        return initiallyRequested;
+    }
+
+    public void setInitiallyRequested(long initiallyRequested) {
+        this.initiallyRequested = initiallyRequested;
+    }
+
+    public void request(long exchanges) {
+        this.subscription.request(exchanges);
+    }
+
+    public void cancel() {
+        this.subscription.cancel();
+    }
+
+    @Override
+    public void onSubscribe(Subscription subscription) {
+        this.subscription = subscription;
+
+        if (initiallyRequested > 0) {
+            subscription.request(initiallyRequested);
+        }
+    }
+
+    @Override
+    public void onNext(T t) {
+
+    }
+
+    @Override
+    public void onError(Throwable throwable) {
+
+    }
+
+    @Override
+    public void onComplete() {
+
+    }
+}
diff --git a/components/camel-rxjava2/src/test/resources/log4j2.properties 
b/components/camel-rxjava2/src/test/resources/log4j2.properties
new file mode 100644
index 00000000000..6510773060a
--- /dev/null
+++ b/components/camel-rxjava2/src/test/resources/log4j2.properties
@@ -0,0 +1,33 @@
+## ---------------------------------------------------------------------------
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements.  See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License.  You may obtain a copy of the License at
+##
+##      http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+## ---------------------------------------------------------------------------
+
+appender.file.type = File
+appender.file.name = file
+appender.file.fileName = target/camel-rxjava2-test.log
+appender.file.layout.type = PatternLayout
+appender.file.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
+appender.stdout.type = Console
+appender.stdout.name = stdout
+appender.stdout.layout.type = PatternLayout
+appender.stdout.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n
+rootLogger.level = INFO
+rootLogger.appenderRef.file.ref = file
+
+#rootLogger.appenderRef.stdout.ref = stdout
+#logger.debug.name = org.apache.camel.component.reactive.streams
+#logger.debug.level = DEBUG
+#logger.debug.additivity = true
diff --git a/components/pom.xml b/components/pom.xml
index 74b4e4c276f..485a8d862ff 100644
--- a/components/pom.xml
+++ b/components/pom.xml
@@ -251,6 +251,7 @@
     <module>camel-rss</module>
     <module>camel-ruby</module>
     <module>camel-rx</module>
+    <module>camel-rxjava2</module>
     <module>camel-sap-netweaver</module>
     <module>camel-saxon</module>
     <module>camel-salesforce</module>
diff --git a/parent/pom.xml b/parent/pom.xml
index e9fb482e9de..f053bb33296 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -598,6 +598,7 @@
     <rome-version>1.0</rome-version>
     <rxjava-version>1.3.8</rxjava-version>
     <rxjava2-version>2.1.13</rxjava2-version>
+    <rxjava2-extensions-version>0.19.0</rxjava2-extensions-version>
     <saaj-impl-version>1.3.2_2</saaj-impl-version>
     <saxon-bundle-version>9.8.0-10_1</saxon-bundle-version>
     <saxon-version>9.8.0-10</saxon-version>
@@ -1819,6 +1820,11 @@
         <artifactId>camel-reactor</artifactId>
         <version>${project.version}</version>
       </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
+        <artifactId>camel-rxjava2</artifactId>
+        <version>${project.version}</version>
+      </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-rest-swagger</artifactId>
@@ -3258,6 +3264,11 @@
         <artifactId>camel-reactor-starter</artifactId>
         <version>${project.version}</version>
       </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
+        <artifactId>camel-rxjava2-starter</artifactId>
+        <version>${project.version}</version>
+      </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-rest-swagger-starter</artifactId>
diff --git 
a/platforms/spring-boot/components-starter/camel-rxjava2-starter/pom.xml 
b/platforms/spring-boot/components-starter/camel-rxjava2-starter/pom.xml
new file mode 100644
index 00000000000..8eb528ef45f
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-rxjava2-starter/pom.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.camel</groupId>
+    <artifactId>components-starter</artifactId>
+    <version>2.22.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>camel-rxjava2-starter</artifactId>
+  <packaging>jar</packaging>
+  <name>Spring-Boot Starter :: Camel :: RxJava2</name>
+  <description>Spring-Boot Starter for RxJava2 based back-end for Camel's 
reactive streams component</description>
+  <dependencies>
+    <dependency>
+      <groupId>org.springframework.boot</groupId>
+      <artifactId>spring-boot-starter</artifactId>
+      <version>${spring-boot-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.camel</groupId>
+      <artifactId>camel-rxjava2</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <!--START OF GENERATED CODE-->
+    <dependency>
+      <groupId>org.apache.camel</groupId>
+      <artifactId>camel-core-starter</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.camel</groupId>
+      <artifactId>camel-spring-boot-starter</artifactId>
+    </dependency>
+    <!--END OF GENERATED CODE-->
+  </dependencies>
+</project>
diff --git 
a/platforms/spring-boot/components-starter/camel-rxjava2-starter/src/main/resources/META-INF/LICENSE.txt
 
b/platforms/spring-boot/components-starter/camel-rxjava2-starter/src/main/resources/META-INF/LICENSE.txt
new file mode 100644
index 00000000000..6b0b1270ff0
--- /dev/null
+++ 
b/platforms/spring-boot/components-starter/camel-rxjava2-starter/src/main/resources/META-INF/LICENSE.txt
@@ -0,0 +1,203 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
diff --git 
a/platforms/spring-boot/components-starter/camel-rxjava2-starter/src/main/resources/META-INF/NOTICE.txt
 
b/platforms/spring-boot/components-starter/camel-rxjava2-starter/src/main/resources/META-INF/NOTICE.txt
new file mode 100644
index 00000000000..2e215bf2e6b
--- /dev/null
+++ 
b/platforms/spring-boot/components-starter/camel-rxjava2-starter/src/main/resources/META-INF/NOTICE.txt
@@ -0,0 +1,11 @@
+   =========================================================================
+   ==  NOTICE file corresponding to the section 4 d of                    ==
+   ==  the Apache License, Version 2.0,                                   ==
+   ==  in this case for the Apache Camel distribution.                    ==
+   =========================================================================
+
+   This product includes software developed by
+   The Apache Software Foundation (http://www.apache.org/).
+
+   Please read the different LICENSE files present in the licenses directory of
+   this distribution.
diff --git 
a/platforms/spring-boot/components-starter/camel-rxjava2-starter/src/main/resources/META-INF/spring.provides
 
b/platforms/spring-boot/components-starter/camel-rxjava2-starter/src/main/resources/META-INF/spring.provides
new file mode 100644
index 00000000000..1cea613c1e7
--- /dev/null
+++ 
b/platforms/spring-boot/components-starter/camel-rxjava2-starter/src/main/resources/META-INF/spring.provides
@@ -0,0 +1,17 @@
+## ---------------------------------------------------------------------------
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements.  See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License.  You may obtain a copy of the License at
+##
+##      http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+## ---------------------------------------------------------------------------
+provides: camel-rxjava2
diff --git a/platforms/spring-boot/components-starter/pom.xml 
b/platforms/spring-boot/components-starter/pom.xml
index dd6467deb0b..fbf27e1eba8 100644
--- a/platforms/spring-boot/components-starter/pom.xml
+++ b/platforms/spring-boot/components-starter/pom.xml
@@ -267,6 +267,7 @@
     <module>camel-rss-starter</module>
     <module>camel-ruby-starter</module>
     <module>camel-rx-starter</module>
+    <module>camel-rxjava2-starter</module>
     <module>camel-salesforce-starter</module>
     <module>camel-sap-netweaver-starter</module>
     <module>camel-saxon-starter</module>
diff --git 
a/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml 
b/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml
index 86e7100f0e1..e32f3ed5362 100644
--- 
a/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml
+++ 
b/platforms/spring-boot/spring-boot-dm/camel-spring-boot-dependencies/pom.xml
@@ -83,7 +83,7 @@
       <dependency>
         <groupId>com.dropbox.core</groupId>
         <artifactId>dropbox-core-sdk</artifactId>
-        <version>3.0.6</version>
+        <version>3.0.7</version>
       </dependency>
       <dependency>
         <groupId>com.github.dozermapper</groupId>
@@ -2304,6 +2304,16 @@
         <artifactId>camel-rx-starter</artifactId>
         <version>${project.version}</version>
       </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
+        <artifactId>camel-rxjava2</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.camel</groupId>
+        <artifactId>camel-rxjava2-starter</artifactId>
+        <version>${project.version}</version>
+      </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-salesforce</artifactId>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Create camel-rxjava2 component
> ------------------------------
>
>                 Key: CAMEL-10806
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10806
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Luca Burgazzoli
>            Assignee: Luca Burgazzoli
>            Priority: Minor
>             Fix For: 2.22.0
>
>
> A we have now camel-reactive-streams it would be nice to have a RxJava 2 
> implementation of the camel-reactive-streams API



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to