Skip to content

Commit

Permalink
hotfix S3 bucket was hardcoded on the payload endpoint (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Vila authored Jan 31, 2020
1 parent d872976 commit d1ae731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/spring/camel-context.xml
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
<when>
<simple>${body} != null &amp;&amp; ${body.payloadStorageId} != null</simple>
<pollEnrich id="pollEnrich">
<simple>aws-s3:xavier-dev?amazonS3Client=#s3client&amp;deleteAfterRead=false&amp;fileName=${body.payloadStorageId}</simple>
<simple>aws-s3:{{S3_BUCKET}}?amazonS3Client=#s3client&amp;deleteAfterRead=false&amp;fileName=${body.payloadStorageId}</simple>
</pollEnrich>
<setHeader headerName="${type:org.jboss.xavier.integrations.route.dataformat.CustomizedMultipartDataFormat.CONTENT_DISPOSITION}">
<simple>${header.CamelAwsS3ContentDisposition}</simple>
Expand Down

0 comments on commit d1ae731

Please sign in to comment.