Hi, how do I get just the S3 object metadata?
Regarding the documentation I would assume for the consumer case I just set the query parameter "ignoreBody=true" (AWS S3 Storage Service :: Apache Camel<https://camel.apache.org/components/3.21.x/aws2-s3-component.html#_endpoint_query_option_ignoreBody>) But for the producer case, which I want/need to use, with the S3 producer operation "GetObject", this parameter won't work. I am right that I have only the way to close the Stream (Body) by myself like this? from("direct:start").process(new Processor() { @Override public void process(Exchange exchange) throws Exception { exchange.getIn().setHeader(AWS2S3Constants.KEY, "camelKey"); } }) .to("aws2-s3://mycamelbucket?amazonS3Client=#amazonS3Client&operation=getObject") .process(new Processor() { @Override public void process(Exchange exchange) throws Exception { IOHelper.close(exchange.getIn().getBody(S3Object.class)); } }) .to("mock:result"); Are there any other sugesstions? Regrads, Michael