Interface SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
SWFEndpointBuilderFactory.SWFEndpointBuilder
- Enclosing interface:
- SWFEndpointBuilderFactory
public static interface SWFEndpointBuilderFactory.SWFEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the AWS Simple Workflow (SWF) component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
accessKey(String accessKey)
Amazon AWS Access Key.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
activitySchedulingOptions(Object activitySchedulingOptions)
Activity scheduling options.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
activitySchedulingOptions(String activitySchedulingOptions)
Activity scheduling options.default SWFEndpointBuilderFactory.AdvancedSWFEndpointProducerBuilder
advanced()
default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
amazonSWClient(Object amazonSWClient)
To use the given AmazonSimpleWorkflowClient as client.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
amazonSWClient(String amazonSWClient)
To use the given AmazonSimpleWorkflowClient as client.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
childPolicy(String childPolicy)
The policy to use on child workflows when terminating a workflow.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
dataConverter(Object dataConverter)
An instance of com.amazonaws.services.simpleworkflow.flow.DataConverter to use for serializing/deserializing the data.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
dataConverter(String dataConverter)
An instance of com.amazonaws.services.simpleworkflow.flow.DataConverter to use for serializing/deserializing the data.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
domainName(String domainName)
The workflow domain to use.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
eventName(String eventName)
The workflow or activity event name to use.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
executionStartToCloseTimeout(String executionStartToCloseTimeout)
Set the execution start to close timeout.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
operation(String operation)
Workflow operation.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
region(String region)
Amazon AWS Region.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
secretKey(String secretKey)
Amazon AWS Secret Key.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
signalName(String signalName)
The name of the signal to send to the workflow.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
stateResultType(String stateResultType)
The type of the result when a workflow state is queried.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
taskStartToCloseTimeout(String taskStartToCloseTimeout)
Set the task start to close timeout.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
terminationDetails(String terminationDetails)
Details for terminating a workflow.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
terminationReason(String terminationReason)
The reason for terminating a workflow.default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder
version(String version)
The workflow or activity event version to use.
-
-
-
Method Detail
-
advanced
default SWFEndpointBuilderFactory.AdvancedSWFEndpointProducerBuilder advanced()
-
amazonSWClient
default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder 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.SWFEndpointProducerBuilder 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.SWFEndpointProducerBuilder 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.SWFEndpointProducerBuilder 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.SWFEndpointProducerBuilder domainName(String domainName)
The workflow domain to use. The option is a:java.lang.String
type. Group: common
-
eventName
default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder eventName(String eventName)
The workflow or activity event name to use. The option is a:java.lang.String
type. Group: common
-
region
default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder 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.SWFEndpointProducerBuilder version(String version)
The workflow or activity event version to use. The option is a:java.lang.String
type. Group: common
-
lazyStartProducer
default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder 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
-
lazyStartProducer
default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder lazyStartProducer(String 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 will be converted to aboolean
type. Default: false Group: producer
-
activitySchedulingOptions
default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder activitySchedulingOptions(Object activitySchedulingOptions)
Activity scheduling options. The option is a:com.amazonaws.services.simpleworkflow.flow.ActivitySchedulingOptions
type. Group: activity
-
activitySchedulingOptions
default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder activitySchedulingOptions(String activitySchedulingOptions)
Activity scheduling options. The option will be converted to acom.amazonaws.services.simpleworkflow.flow.ActivitySchedulingOptions
type. Group: activity
-
accessKey
default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder accessKey(String accessKey)
Amazon AWS Access Key. The option is a:java.lang.String
type. Group: security
-
secretKey
default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder secretKey(String secretKey)
Amazon AWS Secret Key. The option is a:java.lang.String
type. Group: security
-
childPolicy
default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder 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 SWFEndpointBuilderFactory.SWFEndpointProducerBuilder executionStartToCloseTimeout(String executionStartToCloseTimeout)
Set the execution start to close timeout. The option is a:java.lang.String
type. Default: 3600 Group: workflow
-
operation
default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder operation(String operation)
Workflow operation. The option is a:java.lang.String
type. Default: START Group: workflow
-
signalName
default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder 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 SWFEndpointBuilderFactory.SWFEndpointProducerBuilder 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 SWFEndpointBuilderFactory.SWFEndpointProducerBuilder taskStartToCloseTimeout(String taskStartToCloseTimeout)
Set the task start to close timeout. The option is a:java.lang.String
type. Default: 600 Group: workflow
-
terminationDetails
default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder terminationDetails(String terminationDetails)
Details for terminating a workflow. The option is a:java.lang.String
type. Group: workflow
-
terminationReason
default SWFEndpointBuilderFactory.SWFEndpointProducerBuilder terminationReason(String terminationReason)
The reason for terminating a workflow. The option is a:java.lang.String
type. Group: workflow
-
-