Class ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsHeaderNameBuilder
- Enclosing interface:
- ReactiveStreamsEndpointBuilderFactory
public static class ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsHeaderNameBuilder
extends Object
The builder of headers' name for the Reactive Streams component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe callback.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).
-
Constructor Details
-
ReactiveStreamsHeaderNameBuilder
public ReactiveStreamsHeaderNameBuilder()
-
-
Method Details
-
reactiveStreamsEventType
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. The option is a:String
type. Group: consumer- Returns:
- the name of the header
ReactiveStreamsEventType
.
-
reactiveStreamsCallback
The callback. The option is a:org.apache.camel.component.reactive.streams.api.DispatchCallback
type. Group: common- Returns:
- the name of the header
ReactiveStreamsCallback
.
-