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 Details

    • advanced

    • concurrentConsumers

      default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder concurrentConsumers(int concurrentConsumers)
      Number of threads used to process exchanges in the Camel route. The option is a: <code>int</code> type. Default: 1 Group: consumer
      Parameters:
      concurrentConsumers - the value to set
      Returns:
      the dsl builder
    • concurrentConsumers

      Number of threads used to process exchanges in the Camel route. The option will be converted to a <code>int</code> type. Default: 1 Group: consumer
      Parameters:
      concurrentConsumers - the value to set
      Returns:
      the dsl builder
    • 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: <code>double</code> type. Default: 0.25 Group: consumer
      Parameters:
      exchangesRefillLowWatermark - the value to set
      Returns:
      the dsl builder
    • 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 a <code>double</code> type. Default: 0.25 Group: consumer
      Parameters:
      exchangesRefillLowWatermark - the value to set
      Returns:
      the dsl builder
    • forwardOnComplete

      default ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder forwardOnComplete(boolean forwardOnComplete)
      Determines if onComplete events should be pushed to the Camel route. The option is a: <code>boolean</code> type. Default: false Group: consumer
      Parameters:
      forwardOnComplete - the value to set
      Returns:
      the dsl builder
    • forwardOnComplete

      Determines if onComplete events should be pushed to the Camel route. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer
      Parameters:
      forwardOnComplete - the value to set
      Returns:
      the dsl builder
    • forwardOnError

      Determines if onError events should be pushed to the Camel route. Exceptions will be set as message body. The option is a: <code>boolean</code> type. Default: false Group: consumer
      Parameters:
      forwardOnError - the value to set
      Returns:
      the dsl builder
    • 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 a <code>boolean</code> type. Default: false Group: consumer
      Parameters:
      forwardOnError - the value to set
      Returns:
      the dsl builder
    • 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: <code>java.lang.Integer</code> type. Default: 128 Group: consumer
      Parameters:
      maxInflightExchanges - the value to set
      Returns:
      the dsl builder
    • 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 a <code>java.lang.Integer</code> type. Default: 128 Group: consumer
      Parameters:
      maxInflightExchanges - the value to set
      Returns:
      the dsl builder