You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Derek Abdine (JIRA)" <ji...@apache.org> on 2015/04/03 23:50:17 UTC

[jira] [Created] (CAMEL-8598) Set default timeouts on workflows registered by the camel-aws / aws-swf component

Derek Abdine created CAMEL-8598:
-----------------------------------

             Summary: 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 that issue.



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