Interface BeanstalkEndpointBuilderFactory.BeanstalkEndpointBuilder
-
- All Superinterfaces:
BeanstalkEndpointBuilderFactory.BeanstalkEndpointConsumerBuilder
,BeanstalkEndpointBuilderFactory.BeanstalkEndpointProducerBuilder
,org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- BeanstalkEndpointBuilderFactory
public static interface BeanstalkEndpointBuilderFactory.BeanstalkEndpointBuilder extends BeanstalkEndpointBuilderFactory.BeanstalkEndpointConsumerBuilder, BeanstalkEndpointBuilderFactory.BeanstalkEndpointProducerBuilder
Builder for endpoint for the Beanstalk component.
-
-
Method Summary
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.BeanstalkEndpointBuilderFactory.BeanstalkEndpointConsumerBuilder
awaitJob, awaitJob, backoffErrorThreshold, backoffErrorThreshold, backoffIdleThreshold, backoffIdleThreshold, backoffMultiplier, backoffMultiplier, bridgeErrorHandler, bridgeErrorHandler, delay, delay, greedy, greedy, initialDelay, initialDelay, onFailure, onFailure, repeatCount, repeatCount, runLoggingLevel, runLoggingLevel, scheduledExecutorService, scheduledExecutorService, scheduler, scheduler, schedulerProperties, schedulerProperties, sendEmptyMessageWhenIdle, sendEmptyMessageWhenIdle, startScheduler, startScheduler, timeUnit, timeUnit, useBlockIO, useBlockIO, useFixedDelay, useFixedDelay
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.BeanstalkEndpointBuilderFactory.BeanstalkEndpointProducerBuilder
lazyStartProducer, lazyStartProducer
-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
-
-
-
Method Detail
-
advanced
default BeanstalkEndpointBuilderFactory.AdvancedBeanstalkEndpointBuilder advanced()
- Specified by:
advanced
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointConsumerBuilder
- Specified by:
advanced
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointProducerBuilder
-
command
default BeanstalkEndpointBuilderFactory.BeanstalkEndpointBuilder command(BeanstalkEndpointBuilderFactory.BeanstalkCommand command)
put means to put the job into Beanstalk. Job body is specified in the Camel message body. Job ID will be returned in beanstalk.jobId message header. delete, release, touch or bury expect Job ID in the message header beanstalk.jobId. Result of the operation is returned in beanstalk.result message header kick expects the number of jobs to kick in the message body and returns the number of jobs actually kicked out in the message header beanstalk.result. The option is a: <code>org.apache.camel.component.beanstalk.BeanstalkCommand</code> type. Group: common- Specified by:
command
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointConsumerBuilder
- Specified by:
command
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointProducerBuilder
- Parameters:
command
- the value to set- Returns:
- the dsl builder
-
command
default BeanstalkEndpointBuilderFactory.BeanstalkEndpointBuilder command(String command)
put means to put the job into Beanstalk. Job body is specified in the Camel message body. Job ID will be returned in beanstalk.jobId message header. delete, release, touch or bury expect Job ID in the message header beanstalk.jobId. Result of the operation is returned in beanstalk.result message header kick expects the number of jobs to kick in the message body and returns the number of jobs actually kicked out in the message header beanstalk.result. The option will be converted to a <code>org.apache.camel.component.beanstalk.BeanstalkCommand</code> type. Group: common- Specified by:
command
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointConsumerBuilder
- Specified by:
command
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointProducerBuilder
- Parameters:
command
- the value to set- Returns:
- the dsl builder
-
jobDelay
default BeanstalkEndpointBuilderFactory.BeanstalkEndpointBuilder jobDelay(int jobDelay)
Job delay in seconds. The option is a: <code>int</code> type. Default: 0 Group: common- Specified by:
jobDelay
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointConsumerBuilder
- Specified by:
jobDelay
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointProducerBuilder
- Parameters:
jobDelay
- the value to set- Returns:
- the dsl builder
-
jobDelay
default BeanstalkEndpointBuilderFactory.BeanstalkEndpointBuilder jobDelay(String jobDelay)
Job delay in seconds. The option will be converted to a <code>int</code> type. Default: 0 Group: common- Specified by:
jobDelay
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointConsumerBuilder
- Specified by:
jobDelay
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointProducerBuilder
- Parameters:
jobDelay
- the value to set- Returns:
- the dsl builder
-
jobPriority
default BeanstalkEndpointBuilderFactory.BeanstalkEndpointBuilder jobPriority(long jobPriority)
Job priority. (0 is the highest, see Beanstalk protocol). The option is a: <code>long</code> type. Default: 1000 Group: common- Specified by:
jobPriority
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointConsumerBuilder
- Specified by:
jobPriority
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointProducerBuilder
- Parameters:
jobPriority
- the value to set- Returns:
- the dsl builder
-
jobPriority
default BeanstalkEndpointBuilderFactory.BeanstalkEndpointBuilder jobPriority(String jobPriority)
Job priority. (0 is the highest, see Beanstalk protocol). The option will be converted to a <code>long</code> type. Default: 1000 Group: common- Specified by:
jobPriority
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointConsumerBuilder
- Specified by:
jobPriority
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointProducerBuilder
- Parameters:
jobPriority
- the value to set- Returns:
- the dsl builder
-
jobTimeToRun
default BeanstalkEndpointBuilderFactory.BeanstalkEndpointBuilder jobTimeToRun(int jobTimeToRun)
Job time to run in seconds. (when 0, the beanstalkd daemon raises it to 1 automatically, see Beanstalk protocol). The option is a: <code>int</code> type. Default: 60 Group: common- Specified by:
jobTimeToRun
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointConsumerBuilder
- Specified by:
jobTimeToRun
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointProducerBuilder
- Parameters:
jobTimeToRun
- the value to set- Returns:
- the dsl builder
-
jobTimeToRun
default BeanstalkEndpointBuilderFactory.BeanstalkEndpointBuilder jobTimeToRun(String jobTimeToRun)
Job time to run in seconds. (when 0, the beanstalkd daemon raises it to 1 automatically, see Beanstalk protocol). The option will be converted to a <code>int</code> type. Default: 60 Group: common- Specified by:
jobTimeToRun
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointConsumerBuilder
- Specified by:
jobTimeToRun
in interfaceBeanstalkEndpointBuilderFactory.BeanstalkEndpointProducerBuilder
- Parameters:
jobTimeToRun
- the value to set- Returns:
- the dsl builder
-
-