Interface TimerEndpointBuilderFactory.TimerEndpointBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointConsumerBuilder, org.apache.camel.EndpointConsumerResolver
    Enclosing interface:
    TimerEndpointBuilderFactory

    public static interface TimerEndpointBuilderFactory.TimerEndpointBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint for the Timer component.
    • Method Detail

      • bridgeErrorHandler

        default TimerEndpointBuilderFactory.TimerEndpointBuilder 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 TimerEndpointBuilderFactory.TimerEndpointBuilder 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 a boolean type. Default: false Group: consumer
      • fixedRate

        default TimerEndpointBuilderFactory.TimerEndpointBuilder fixedRate​(boolean fixedRate)
        Events take place at approximately regular intervals, separated by the specified period. The option is a: boolean type. Default: false Group: consumer
      • fixedRate

        default TimerEndpointBuilderFactory.TimerEndpointBuilder fixedRate​(String fixedRate)
        Events take place at approximately regular intervals, separated by the specified period. The option will be converted to a boolean type. Default: false Group: consumer
      • includeMetadata

        default TimerEndpointBuilderFactory.TimerEndpointBuilder includeMetadata​(boolean includeMetadata)
        Whether to include metadata in the exchange such as fired time, timer name, timer count etc. This information is default included. The option is a: boolean type. Default: true Group: consumer
      • includeMetadata

        default TimerEndpointBuilderFactory.TimerEndpointBuilder includeMetadata​(String includeMetadata)
        Whether to include metadata in the exchange such as fired time, timer name, timer count etc. This information is default included. The option will be converted to a boolean type. Default: true Group: consumer
      • repeatCount

        default TimerEndpointBuilderFactory.TimerEndpointBuilder repeatCount​(long repeatCount)
        Specifies a maximum limit of number of fires. So if you set it to 1, the timer will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever. The option is a: long type. Default: 0 Group: consumer
      • repeatCount

        default TimerEndpointBuilderFactory.TimerEndpointBuilder repeatCount​(String repeatCount)
        Specifies a maximum limit of number of fires. So if you set it to 1, the timer will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever. The option will be converted to a long type. Default: 0 Group: consumer