This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 0b0f2cfbabfed374d8714cbd068b250adcd372ef Author: Pasquale Congiusti <[email protected]> AuthorDate: Mon Oct 13 08:56:18 2025 +0200 chore: remove body toString() Co-authored-by: Babak Vahdat <[email protected]> --- .../resources/archetype-resources/src/main/java/__name__Producer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archetypes/camel-archetype-component/src/main/resources/archetype-resources/src/main/java/__name__Producer.java b/archetypes/camel-archetype-component/src/main/resources/archetype-resources/src/main/java/__name__Producer.java index 2c2892bf605a..dcf6d26572db 100644 --- a/archetypes/camel-archetype-component/src/main/resources/archetype-resources/src/main/java/__name__Producer.java +++ b/archetypes/camel-archetype-component/src/main/resources/archetype-resources/src/main/java/__name__Producer.java @@ -31,7 +31,7 @@ public class ${name}Producer extends DefaultProducer { } public void process(Exchange exchange) throws Exception { - LOG.info(exchange.getIn().getBody().toString()); + LOG.info(exchange.getIn().getBody()); } }
