Hi You should use headers on the message as that is part of the message and transfered over queues / network etc. exchange properties private and are not.
On Tue, Jul 28, 2015 at 10:39 AM, masalinas <[email protected]> wrote: > If I add a custom property to my body throw sendBodyAndProperty from my > template to a direct endpoint the property added is correctly recolected > later from my processor, but if the endpoint is a queue the property is > removed and when I try to recolect it from my processor not exist. > > If I send my variable throw a custom header using sendBodyAndHeaders to the > same queue endpoint i could recolect the custom header correctly > > is it a bug?? > > I'm using camel 2.10.1 > > Regards > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Property-aded-to-my-body-is-removed-when-endpoint-is-a-queue-tp5770003.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2nd edition: http://www.manning.com/ibsen2
