Interface AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
-
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.aws.swf.SWFComponent>
- All Known Implementing Classes:
AwsSwfComponentBuilderFactory.AwsSwfComponentBuilderImpl
- Enclosing interface:
- AwsSwfComponentBuilderFactory
public static interface AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder extends ComponentBuilder<org.apache.camel.component.aws.swf.SWFComponent>
Builder for the AWS Simple Workflow (SWF) component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
accessKey(String accessKey)
Amazon AWS Access Key.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
activityList(String activityList)
The list name to consume activities from.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
activitySchedulingOptions(com.amazonaws.services.simpleworkflow.flow.ActivitySchedulingOptions activitySchedulingOptions)
Activity scheduling options.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
activityThreadPoolSize(int activityThreadPoolSize)
Maximum number of threads in work pool for activity.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
activityTypeExecutionOptions(com.amazonaws.services.simpleworkflow.flow.worker.ActivityTypeExecutionOptions activityTypeExecutionOptions)
Activity execution options.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
activityTypeRegistrationOptions(com.amazonaws.services.simpleworkflow.flow.worker.ActivityTypeRegistrationOptions activityTypeRegistrationOptions)
Activity registration options.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
amazonSWClient(com.amazonaws.services.simpleworkflow.AmazonSimpleWorkflow amazonSWClient)
To use the given AmazonSimpleWorkflowClient as client.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
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 AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
childPolicy(String childPolicy)
The policy to use on child workflows when terminating a workflow.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
clientConfigurationParameters(Map<String,Object> clientConfigurationParameters)
To configure the ClientConfiguration using the key/values from the Map.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
configuration(org.apache.camel.component.aws.swf.SWFConfiguration configuration)
The component configuration.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
dataConverter(com.amazonaws.services.simpleworkflow.flow.DataConverter dataConverter)
An instance of com.amazonaws.services.simpleworkflow.flow.DataConverter to use for serializing/deserializing the data.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
domainName(String domainName)
The workflow domain to use.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
eventName(String eventName)
The workflow or activity event name to use.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
executionStartToCloseTimeout(String executionStartToCloseTimeout)
Set the execution start to close timeout.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
operation(String operation)
Workflow operation.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
region(String region)
Amazon AWS Region.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
secretKey(String secretKey)
Amazon AWS Secret Key.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
signalName(String signalName)
The name of the signal to send to the workflow.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
startWorkflowOptionsParameters(Map<String,Object> startWorkflowOptionsParameters)
To configure the StartWorkflowOptions using the key/values from the Map.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
stateResultType(String stateResultType)
The type of the result when a workflow state is queried.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
sWClientParameters(Map<String,Object> sWClientParameters)
To configure the AmazonSimpleWorkflowClient using the key/values from the Map.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
taskStartToCloseTimeout(String taskStartToCloseTimeout)
Set the task start to close timeout.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
terminationDetails(String terminationDetails)
Details for terminating a workflow.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
terminationReason(String terminationReason)
The reason for terminating a workflow.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
version(String version)
The workflow or activity event version to use.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
workflowList(String workflowList)
The list name to consume workflows from.default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder
workflowTypeRegistrationOptions(com.amazonaws.services.simpleworkflow.flow.WorkflowTypeRegistrationOptions workflowTypeRegistrationOptions)
Workflow registration options.-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
amazonSWClient
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder amazonSWClient(com.amazonaws.services.simpleworkflow.AmazonSimpleWorkflow amazonSWClient)
To use the given AmazonSimpleWorkflowClient as client. The option is a:com.amazonaws.services.simpleworkflow.AmazonSimpleWorkflow
type. Group: common
-
configuration
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder configuration(org.apache.camel.component.aws.swf.SWFConfiguration configuration)
The component configuration. The option is a:org.apache.camel.component.aws.swf.SWFConfiguration
type. Group: common
-
dataConverter
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder dataConverter(com.amazonaws.services.simpleworkflow.flow.DataConverter 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
-
domainName
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder domainName(String domainName)
The workflow domain to use. The option is a:java.lang.String
type. Group: common
-
eventName
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder eventName(String eventName)
The workflow or activity event name to use. The option is a:java.lang.String
type. Group: common
-
region
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder 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 AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder version(String version)
The workflow or activity event version to use. The option is a:java.lang.String
type. Group: common
-
bridgeErrorHandler
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder 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
-
lazyStartProducer
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:boolean
type. Default: false Group: producer
-
activityList
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder activityList(String activityList)
The list name to consume activities from. The option is a:java.lang.String
type. Group: activity
-
activitySchedulingOptions
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder activitySchedulingOptions(com.amazonaws.services.simpleworkflow.flow.ActivitySchedulingOptions activitySchedulingOptions)
Activity scheduling options. The option is a:com.amazonaws.services.simpleworkflow.flow.ActivitySchedulingOptions
type. Group: activity
-
activityThreadPoolSize
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder activityThreadPoolSize(int activityThreadPoolSize)
Maximum number of threads in work pool for activity. The option is a:int
type. Default: 100 Group: activity
-
activityTypeExecutionOptions
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder activityTypeExecutionOptions(com.amazonaws.services.simpleworkflow.flow.worker.ActivityTypeExecutionOptions activityTypeExecutionOptions)
Activity execution options. The option is a:com.amazonaws.services.simpleworkflow.flow.worker.ActivityTypeExecutionOptions
type. Group: activity
-
activityTypeRegistrationOptions
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder activityTypeRegistrationOptions(com.amazonaws.services.simpleworkflow.flow.worker.ActivityTypeRegistrationOptions activityTypeRegistrationOptions)
Activity registration options. The option is a:com.amazonaws.services.simpleworkflow.flow.worker.ActivityTypeRegistrationOptions
type. Group: activity
-
autowiredEnabled
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a:boolean
type. Default: true Group: advanced
-
clientConfigurationParameters
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder clientConfigurationParameters(Map<String,Object> clientConfigurationParameters)
To configure the ClientConfiguration using the key/values from the Map. The option is a:java.util.Map
type. Group: advanced
-
startWorkflowOptionsParameters
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder startWorkflowOptionsParameters(Map<String,Object> startWorkflowOptionsParameters)
To configure the StartWorkflowOptions using the key/values from the Map. The option is a:java.util.Map
type. Group: advanced
-
sWClientParameters
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder sWClientParameters(Map<String,Object> sWClientParameters)
To configure the AmazonSimpleWorkflowClient using the key/values from the Map. The option is a:java.util.Map
type. Group: advanced
-
accessKey
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder accessKey(String accessKey)
Amazon AWS Access Key. The option is a:java.lang.String
type. Group: security
-
secretKey
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder secretKey(String secretKey)
Amazon AWS Secret Key. The option is a:java.lang.String
type. Group: security
-
childPolicy
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder childPolicy(String childPolicy)
The policy to use on child workflows when terminating a workflow. The option is a:java.lang.String
type. Group: workflow
-
executionStartToCloseTimeout
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder executionStartToCloseTimeout(String executionStartToCloseTimeout)
Set the execution start to close timeout. The option is a:java.lang.String
type. Default: 3600 Group: workflow
-
operation
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder operation(String operation)
Workflow operation. The option is a:java.lang.String
type. Default: START Group: workflow
-
signalName
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder signalName(String signalName)
The name of the signal to send to the workflow. The option is a:java.lang.String
type. Group: workflow
-
stateResultType
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder stateResultType(String stateResultType)
The type of the result when a workflow state is queried. The option is a:java.lang.String
type. Group: workflow
-
taskStartToCloseTimeout
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder taskStartToCloseTimeout(String taskStartToCloseTimeout)
Set the task start to close timeout. The option is a:java.lang.String
type. Default: 600 Group: workflow
-
terminationDetails
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder terminationDetails(String terminationDetails)
Details for terminating a workflow. The option is a:java.lang.String
type. Group: workflow
-
terminationReason
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder terminationReason(String terminationReason)
The reason for terminating a workflow. The option is a:java.lang.String
type. Group: workflow
-
workflowList
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder workflowList(String workflowList)
The list name to consume workflows from. The option is a:java.lang.String
type. Group: workflow
-
workflowTypeRegistrationOptions
default AwsSwfComponentBuilderFactory.AwsSwfComponentBuilder workflowTypeRegistrationOptions(com.amazonaws.services.simpleworkflow.flow.WorkflowTypeRegistrationOptions workflowTypeRegistrationOptions)
Workflow registration options. The option is a:com.amazonaws.services.simpleworkflow.flow.WorkflowTypeRegistrationOptions
type. Group: workflow
-
-