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/06 14:39:06 UTC
[GitHub] [camel-kamelets] oscerd commented on a diff in pull request #919: Added default value for keyName in aws-s3-sink.kamelet.yaml
oscerd commented on code in PR #919:
URL: https://github.com/apache/camel-kamelets/pull/919#discussion_r866895014
##########
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 don"t think this line is needed
--
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