Phil Cluff created CAMEL-5944:
---------------------------------
Summary: Setting extendMessageVisibility on an SQS consumer
doesn't make visibilityTimeout compulsory
Key: CAMEL-5944
URL: https://issues.apache.org/jira/browse/CAMEL-5944
Project: Camel
Issue Type: Improvement
Components: camel-aws
Affects Versions: 2.10.3
Reporter: Phil Cluff
Priority: Minor
The ExtendMessageVisibility functionality in SQS Consumer doesn't work unless
visibilityTimeout is set (SqsConsumer.java L110), but the documentation doesn't
sugggest this, and it isn't enforced.
I'd suggest that we change the config/documentation such that visibilityTimeout
becomes compulsory if extendMessageVisibility is set.
Another option may be to check for available timeouts in the following order:
1) visibilityTimeout
2) defaultVisibilityTimeout
3) Fall back to a default value (30s?). [In this case, it would probably be
sensible to log warning that we were using a default value.]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira