[ 
https://issues.apache.org/jira/browse/CAMEL-8598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Derek Abdine updated CAMEL-8598:
--------------------------------
    Description: 
The aws-swf component does not set a default "Execution Start To Close Timeout" 
or "Task Start To Close Timeout" when workflows are newly registered. 

This has the effect of scheduled workflows immediately moving to the TIMEOUT 
state (and being tracked as timed out in the AWS SWF UI).

*workarounds*
For newcomers to the aws-swf component this is particularly confusing. My 
work-around was to explicitly create the workflow type in the AWS SWF UI before 
camel had a chance to register it with proper timeouts (the UI requires you to 
set a timeout, which may mean there's also a bug in the AWS API). Another 
approach looks to be related to the workflowTypeRegistrationOptions uri option 
on the aws-swf endpoint, though I haven't validated that approach as a 
work-around for this issue, so explore at your own risk.

  was:
The aws-swf component does not set a default "Execution Start To Close Timeout" 
or "Task Start To Close Timeout" when workflows are newly registered. 

This has the effect of scheduled workflows immediately moving to the TIMEOUT 
state (and being tracked as timed out in the AWS SWF UI).

*workarounds*
For newcomers to the aws-swf component this is particularly confusing. My 
work-around was to explicitly create the workflow type in the AWS SWF UI before 
camel had a chance to register it with proper timeouts (the UI requires you to 
set a timeout, which may mean there's also a bug in the AWS API). Another 
approach looks to be related to the workflowTypeRegistrationOptions uri option 
on the aws-swf endpoint, though I haven't validated that approach as a 
work-around for that issue.


> Set default timeouts on workflows registered by the camel-aws / aws-swf 
> component
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-8598
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8598
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-aws
>    Affects Versions: 2.14.2
>            Reporter: Derek Abdine
>            Priority: Minor
>
> The aws-swf component does not set a default "Execution Start To Close 
> Timeout" or "Task Start To Close Timeout" when workflows are newly 
> registered. 
> This has the effect of scheduled workflows immediately moving to the TIMEOUT 
> state (and being tracked as timed out in the AWS SWF UI).
> *workarounds*
> For newcomers to the aws-swf component this is particularly confusing. My 
> work-around was to explicitly create the workflow type in the AWS SWF UI 
> before camel had a chance to register it with proper timeouts (the UI 
> requires you to set a timeout, which may mean there's also a bug in the AWS 
> API). Another approach looks to be related to the 
> workflowTypeRegistrationOptions uri option on the aws-swf endpoint, though I 
> haven't validated that approach as a work-around for this issue, so explore 
> at your own risk.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to