Class ConvertingPublisher<R>
- java.lang.Object
-
- org.apache.camel.component.reactive.streams.util.ConvertingPublisher<R>
-
- All Implemented Interfaces:
org.reactivestreams.Publisher<R>
public class ConvertingPublisher<R> extends Object implements org.reactivestreams.Publisher<R>
A publisher that converts CamelExchange
s into the given type.
-
-
Constructor Summary
Constructors Constructor Description ConvertingPublisher(org.reactivestreams.Publisher<org.apache.camel.Exchange> delegate, Class<R> type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
subscribe(org.reactivestreams.Subscriber<? super R> subscriber)
-