Interface ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsEndpointConsumerBuilder

    • Method Detail

      • 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
      • 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: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        forwardOnError - the value to set
        Returns:
        the dsl builder
      • 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 a <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        forwardOnError - the value to set
        Returns:
        the dsl builder
      • 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: <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