Interface SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
SWFEndpointBuilderFactory.SWFEndpointBuilder
- Enclosing interface:
- SWFEndpointBuilderFactory
public static interface SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the AWS Simple Workflow (SWF) component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
accessKey(String accessKey)
Amazon AWS Access Key.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
activityList(String activityList)
The list name to consume activities from.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
activityThreadPoolSize(int activityThreadPoolSize)
Maximum number of threads in work pool for activity.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
activityThreadPoolSize(String activityThreadPoolSize)
Maximum number of threads in work pool for activity.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
activityTypeExecutionOptions(Object activityTypeExecutionOptions)
Activity execution options.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
activityTypeExecutionOptions(String activityTypeExecutionOptions)
Activity execution options.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
activityTypeRegistrationOptions(Object activityTypeRegistrationOptions)
Activity registration options.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
activityTypeRegistrationOptions(String activityTypeRegistrationOptions)
Activity registration options.default SWFEndpointBuilderFactory.AdvancedSWFEndpointConsumerBuilder
advanced()
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
amazonSWClient(Object amazonSWClient)
To use the given AmazonSimpleWorkflowClient as client.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
amazonSWClient(String amazonSWClient)
To use the given AmazonSimpleWorkflowClient as client.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
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 SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
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 SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
dataConverter(Object dataConverter)
An instance of com.amazonaws.services.simpleworkflow.flow.DataConverter to use for serializing/deserializing the data.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
dataConverter(String dataConverter)
An instance of com.amazonaws.services.simpleworkflow.flow.DataConverter to use for serializing/deserializing the data.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
domainName(String domainName)
The workflow domain to use.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
eventName(String eventName)
The workflow or activity event name to use.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
region(String region)
Amazon AWS Region.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
secretKey(String secretKey)
Amazon AWS Secret Key.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
version(String version)
The workflow or activity event version to use.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
workflowList(String workflowList)
The list name to consume workflows from.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
workflowTypeRegistrationOptions(Object workflowTypeRegistrationOptions)
Workflow registration options.default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder
workflowTypeRegistrationOptions(String workflowTypeRegistrationOptions)
Workflow registration options.
-
-
-
Method Detail
-
advanced
default SWFEndpointBuilderFactory.AdvancedSWFEndpointConsumerBuilder advanced()
-
amazonSWClient
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder amazonSWClient(Object amazonSWClient)
To use the given AmazonSimpleWorkflowClient as client. The option is a:com.amazonaws.services.simpleworkflow.AmazonSimpleWorkflowClient
type. Group: common
-
amazonSWClient
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder amazonSWClient(String amazonSWClient)
To use the given AmazonSimpleWorkflowClient as client. The option will be converted to acom.amazonaws.services.simpleworkflow.AmazonSimpleWorkflowClient
type. Group: common
-
dataConverter
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder dataConverter(Object dataConverter)
An instance of com.amazonaws.services.simpleworkflow.flow.DataConverter to use for serializing/deserializing the data. The option is a:com.amazonaws.services.simpleworkflow.flow.DataConverter
type. Group: common
-
dataConverter
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder dataConverter(String dataConverter)
An instance of com.amazonaws.services.simpleworkflow.flow.DataConverter to use for serializing/deserializing the data. The option will be converted to acom.amazonaws.services.simpleworkflow.flow.DataConverter
type. Group: common
-
domainName
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder domainName(String domainName)
The workflow domain to use. The option is a:java.lang.String
type. Group: common
-
eventName
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder eventName(String eventName)
The workflow or activity event name to use. The option is a:java.lang.String
type. Group: common
-
region
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder region(String region)
Amazon AWS Region. When using this parameter, the configuration will expect the capitalized name of the region (for example AP_EAST_1) You'll need to use the name Regions.EU_WEST_1.name(). The option is a:java.lang.String
type. Group: common
-
version
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder version(String version)
The workflow or activity event version to use. The option is a:java.lang.String
type. Group: common
-
bridgeErrorHandler
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder 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 SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder 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
-
activityList
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder activityList(String activityList)
The list name to consume activities from. The option is a:java.lang.String
type. Group: activity
-
activityThreadPoolSize
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder activityThreadPoolSize(int activityThreadPoolSize)
Maximum number of threads in work pool for activity. The option is a:int
type. Default: 100 Group: activity
-
activityThreadPoolSize
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder activityThreadPoolSize(String activityThreadPoolSize)
Maximum number of threads in work pool for activity. The option will be converted to aint
type. Default: 100 Group: activity
-
activityTypeExecutionOptions
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder activityTypeExecutionOptions(Object activityTypeExecutionOptions)
Activity execution options. The option is a:com.amazonaws.services.simpleworkflow.flow.worker.ActivityTypeExecutionOptions
type. Group: activity
-
activityTypeExecutionOptions
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder activityTypeExecutionOptions(String activityTypeExecutionOptions)
Activity execution options. The option will be converted to acom.amazonaws.services.simpleworkflow.flow.worker.ActivityTypeExecutionOptions
type. Group: activity
-
activityTypeRegistrationOptions
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder activityTypeRegistrationOptions(Object activityTypeRegistrationOptions)
Activity registration options. The option is a:com.amazonaws.services.simpleworkflow.flow.worker.ActivityTypeRegistrationOptions
type. Group: activity
-
activityTypeRegistrationOptions
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder activityTypeRegistrationOptions(String activityTypeRegistrationOptions)
Activity registration options. The option will be converted to acom.amazonaws.services.simpleworkflow.flow.worker.ActivityTypeRegistrationOptions
type. Group: activity
-
accessKey
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder accessKey(String accessKey)
Amazon AWS Access Key. The option is a:java.lang.String
type. Group: security
-
secretKey
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder secretKey(String secretKey)
Amazon AWS Secret Key. The option is a:java.lang.String
type. Group: security
-
workflowList
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder workflowList(String workflowList)
The list name to consume workflows from. The option is a:java.lang.String
type. Group: workflow
-
workflowTypeRegistrationOptions
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder workflowTypeRegistrationOptions(Object workflowTypeRegistrationOptions)
Workflow registration options. The option is a:com.amazonaws.services.simpleworkflow.flow.WorkflowTypeRegistrationOptions
type. Group: workflow
-
workflowTypeRegistrationOptions
default SWFEndpointBuilderFactory.SWFEndpointConsumerBuilder workflowTypeRegistrationOptions(String workflowTypeRegistrationOptions)
Workflow registration options. The option will be converted to acom.amazonaws.services.simpleworkflow.flow.WorkflowTypeRegistrationOptions
type. Group: workflow
-
-