Class UnwrappingPublisher

  • All Implemented Interfaces:
    org.reactivestreams.Publisher<org.apache.camel.Exchange>

    public class UnwrappingPublisher
    extends Object
    implements org.reactivestreams.Publisher<org.apache.camel.Exchange>
    A publisher that extracts the item from the payload as soon as it is delivered to the subscriber. It calls the dispatch callback if defined.
    • Constructor Detail

      • UnwrappingPublisher

        public UnwrappingPublisher​(org.reactivestreams.Publisher<org.apache.camel.Exchange> delegate)
    • Method Detail

      • subscribe

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