Claus, Hi! Did you miss this? Can you comment my findings? I cannot see anything in the Camel documentation about this behavior.
On Thu, 2021-08-19 at 16:59 +0300, mail4...@gmail.com wrote: > Hello! > > Please confirm I faced a bug. > > This fluent producer does not send body to endpoint: > > camelContext.createFluentProducerTemplate() > .withBody(DATA) > .withProcessor(exchange -> exchange.setProperty("prop", DATA)) > .to(ENDPOINT_IN) > .send(); > > And this one does: > > camelContext.createFluentProducerTemplate() > .withBody(DATA) > //.withProcessor(exchange -> exchange.setProperty("prop", DATA)) > .to(ENDPOINT_IN) > .send(); > > > My code with tests is here: > https://github.com/bvn13/camel-bug-fluent-producer-template/blob/master/src/test/java/com/bvn13/bug/camel/fluentproducertemplate/camelbugfluentproducertemplate/CamelBugFluentProducerTemplateApplicationTests.java > > > _________________ > Vyacheslav Boyko, > mailto:mail4...@gmail.com > -- _________________ Vyacheslav Boyko, mailto:mail4...@gmail.com