Interface ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointBuilder
- Enclosing interface:
- ReactiveStreamsEndpointBuilderFactory
public static interface ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Reactive Streams component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ReactiveStreamsEndpointBuilderFactory.AdvancedReactiveStreamsEndpointConsumerBuilder
advanced()
default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder
bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder
concurrentConsumers(int concurrentConsumers)
Number of threads used to process exchanges in the Camel route.default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder
concurrentConsumers(String concurrentConsumers)
Number of threads used to process exchanges in the Camel route.default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder
exchangesRefillLowWatermark(double exchangesRefillLowWatermark)
Set the low watermark of requested exchanges to the active subscription as percentage of the maxInflightExchanges.default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder
exchangesRefillLowWatermark(String exchangesRefillLowWatermark)
Set the low watermark of requested exchanges to the active subscription as percentage of the maxInflightExchanges.default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder
forwardOnComplete(boolean forwardOnComplete)
Determines if onComplete events should be pushed to the Camel route.default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder
forwardOnComplete(String forwardOnComplete)
Determines if onComplete events should be pushed to the Camel route.default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder
forwardOnError(boolean forwardOnError)
Determines if onError events should be pushed to the Camel route.default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder
forwardOnError(String forwardOnError)
Determines if onError events should be pushed to the Camel route.default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder
maxInflightExchanges(Integer maxInflightExchanges)
Maximum number of exchanges concurrently being processed by Camel.default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder
maxInflightExchanges(String maxInflightExchanges)
Maximum number of exchanges concurrently being processed by Camel.
-
-
-
Method Detail
-
advanced
default ReactiveStreamsEndpointBuilderFactory.AdvancedReactiveStreamsEndpointConsumerBuilder advanced()
-
bridgeErrorHandler
default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a:boolean
type. Default: false Group: consumer
-
bridgeErrorHandler
default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to aboolean
type. Default: false Group: consumer
-
concurrentConsumers
default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder concurrentConsumers(int concurrentConsumers)
Number of threads used to process exchanges in the Camel route. The option is a:int
type. Default: 1 Group: consumer
-
concurrentConsumers
default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder concurrentConsumers(String concurrentConsumers)
Number of threads used to process exchanges in the Camel route. The option will be converted to aint
type. Default: 1 Group: consumer
-
exchangesRefillLowWatermark
default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder exchangesRefillLowWatermark(double exchangesRefillLowWatermark)
Set the low watermark of requested exchanges to the active subscription as percentage of the maxInflightExchanges. When the number of pending items from the upstream source is lower than the watermark, new items can be requested to the subscription. If set to 0, the subscriber will request items in batches of maxInflightExchanges, only after all items of the previous batch have been processed. If set to 1, the subscriber can request a new item each time an exchange is processed (chatty). Any intermediate value can be used. The option is a:double
type. Default: 0.25 Group: consumer
-
exchangesRefillLowWatermark
default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder exchangesRefillLowWatermark(String exchangesRefillLowWatermark)
Set the low watermark of requested exchanges to the active subscription as percentage of the maxInflightExchanges. When the number of pending items from the upstream source is lower than the watermark, new items can be requested to the subscription. If set to 0, the subscriber will request items in batches of maxInflightExchanges, only after all items of the previous batch have been processed. If set to 1, the subscriber can request a new item each time an exchange is processed (chatty). Any intermediate value can be used. The option will be converted to adouble
type. Default: 0.25 Group: consumer
-
forwardOnComplete
default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder forwardOnComplete(boolean forwardOnComplete)
Determines if onComplete events should be pushed to the Camel route. The option is a:boolean
type. Default: false Group: consumer
-
forwardOnComplete
default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder forwardOnComplete(String forwardOnComplete)
Determines if onComplete events should be pushed to the Camel route. The option will be converted to aboolean
type. Default: false Group: consumer
-
forwardOnError
default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder forwardOnError(boolean forwardOnError)
Determines if onError events should be pushed to the Camel route. Exceptions will be set as message body. The option is a:boolean
type. Default: false Group: consumer
-
forwardOnError
default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder forwardOnError(String forwardOnError)
Determines if onError events should be pushed to the Camel route. Exceptions will be set as message body. The option will be converted to aboolean
type. Default: false Group: consumer
-
maxInflightExchanges
default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder maxInflightExchanges(Integer maxInflightExchanges)
Maximum number of exchanges concurrently being processed by Camel. This parameter controls backpressure on the stream. Setting a non-positive value will disable backpressure. The option is a:java.lang.Integer
type. Default: 128 Group: consumer
-
maxInflightExchanges
default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder maxInflightExchanges(String maxInflightExchanges)
Maximum number of exchanges concurrently being processed by Camel. This parameter controls backpressure on the stream. Setting a non-positive value will disable backpressure. The option will be converted to ajava.lang.Integer
type. Default: 128 Group: consumer
-
-