This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 6067680e3b73b1a2ce000dfdeee4fea9b8c5ece6 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Wed Mar 24 15:29:29 2021 +0100 CAMEL-16398 - Camel-AWS-DDBStreams: Don't take the stream existence for granted --- .../org/apache/camel/component/aws2/ddbstream/ShardIteratorHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-aws/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddbstream/ShardIteratorHandler.java b/components/camel-aws/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddbstream/ShardIteratorHandler.java index ce1904e..b3e5940 100644 --- a/components/camel-aws/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddbstream/ShardIteratorHandler.java +++ b/components/camel-aws/camel-aws2-ddb/src/main/java/org/apache/camel/component/aws2/ddbstream/ShardIteratorHandler.java @@ -60,7 +60,7 @@ class ShardIteratorHandler { ListStreamsRequest.builder().tableName(getEndpoint().getConfiguration().getTableName()).build()); if (streamsListResult.streams().isEmpty()) { throw new IllegalArgumentException( - "There is no stream associated with table configured. Please create one."); + "There is no stream associated with table configured. Please create one."); } final String streamArn = streamsListResult.streams().get(0).streamArn(); // XXX // assumes