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
Constructors Constructor Description ReactiveStreamsHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
reactiveStreamsCallback()
The callback.String
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).
-
-
-
Method Detail
-
reactiveStreamsEventType
public String 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
public String 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
.
-
-