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 Camel Exchanges into the given type.
  • Constructor Details

    • ConvertingPublisher

      public ConvertingPublisher(org.reactivestreams.Publisher<org.apache.camel.Exchange> delegate, Class<R> type)
  • Method Details

    • subscribe

      public void subscribe(org.reactivestreams.Subscriber<? super R> subscriber)
      Specified by:
      subscribe in interface org.reactivestreams.Publisher<R>