Class UnwrappingPublisher
java.lang.Object
org.apache.camel.component.reactive.streams.engine.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 Summary
ConstructorsConstructorDescriptionUnwrappingPublisher
(org.reactivestreams.Publisher<org.apache.camel.Exchange> delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
subscribe
(org.reactivestreams.Subscriber<? super org.apache.camel.Exchange> subscriber)
-
Constructor Details
-
UnwrappingPublisher
public UnwrappingPublisher(org.reactivestreams.Publisher<org.apache.camel.Exchange> delegate)
-
-
Method Details
-
subscribe
public void subscribe(org.reactivestreams.Subscriber<? super org.apache.camel.Exchange> subscriber) - Specified by:
subscribe
in interfaceorg.reactivestreams.Publisher<org.apache.camel.Exchange>
-