Class ReactiveStreamsConstants


  • public final class ReactiveStreamsConstants
    extends Object
    Useful constants used in the Camel Reactive Streams component.
    • Field Detail

      • REACTIVE_STREAMS_EVENT_TYPE

        @Metadata(label="consumer",
                  javaType="String")
        public static final String REACTIVE_STREAMS_EVENT_TYPE
        Every exchange consumed by Camel has this header set to indicate if the exchange contains an item (value="onNext"), an error (value="onError") or a completion event (value="onComplete"). Errors and completion notification are not forwarded by default.
        See Also:
        Constant Field Values
      • REACTIVE_STREAMS_CALLBACK

        @Metadata(description="The callback.",
                  javaType="org.apache.camel.component.reactive.streams.api.DispatchCallback")
        public static final String REACTIVE_STREAMS_CALLBACK
        See Also:
        Constant Field Values