Class 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 Detail

      • ConvertingPublisher

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

      • subscribe

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