I dont have a test case, but below is the route where I pass a List of Map of
my model class.
from(Constants.ROUTE_CONVERT_TO_CSV)
.log("Received request for S3 upload")
.marshal().bindy(BindyType.Csv, "com.domain")
.setHeader(S3Constants.KEY,
simple("${date:now:yyyy-MM-dd}"+"/"+Constants.FILENAME_PREIX+"${date:now:yyyyMMddHHmmss}"))
//Sets Filename in S3
.to("aws-s3://{{s3.bucket.name.prefix}}?"
+ "accessKey={{aws.accesskey}}"
+ "&secretKey=RAW({{aws.secretkey}})");
Regards,
CGSK
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-bindy-not-working-in-Spring-boot-tp5780995p5781017.html
Sent from the Camel - Users mailing list archive at Nabble.com.