Yes using properties is very seldom used. Only body + header is part of the actual message content. properties is not part of that but for any arbitrary data / internal for Camel / or some meta-data from the EIPs such as the splitter setting information about current index + total number of entries being splitted etc.
You can use send(endpoint, processor) or send(endpoint, exchange) to send where you can add the headers/properties/body beforehand or using the processor. There is also an ExchangeBuilder for building the exchange using a fluent builder style. And in the future likely a builder style for the producer template as well. On Mon, Nov 4, 2013 at 12:47 PM, bilalalp <syme...@gmail.com> wrote: > Hi everyone, i'm new at camel. I wonder why there is no such method > sendBodyAndHeadersAndProperties for ProducerTemplate ? When i looked at its > methods, there are sendBodyAndHeaders and sendBodyAndProperty but there is > no sendBodyAndHeadersAndProperties. Is there any reasons that it wasn't > added? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Sending-Body-tp5742587.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen