You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/05/07 21:47:10 UTC

[GitHub] [camel-kamelets] valdar commented on a diff in pull request #919: Added default value for keyName in aws-s3-sink.kamelet.yaml

valdar commented on code in PR #919:
URL: https://github.com/apache/camel-kamelets/pull/919#discussion_r867398203


##########
kamelets/aws-s3-sink.kamelet.yaml:
##########
@@ -121,6 +121,12 @@ spec:
             - set-header:
                 name: CamelAwsS3Key
                 simple: "${header[ce-file]}"
+          - simple: "${properties:keyName:null} == 'null'"
+            steps:
+            - set-header:
+                name: CamelAwsS3Key
+                simple: "${exchangeId}"      
+                #

Review Comment:
   I have added a comment there that was lost in the first commit.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org