See about the content enricher On Tue, Nov 11, 2014 at 4:21 AM, Camel Guy <ca...@devguy.com> wrote: > Hello, > > I am using Spring XML. I would like to invoke a route synchronously, > passing the current Exchange. However, I want to discard the changes > that the invoked route makes to the Exchange (e.g., modification of > headers). > > So far this is the shortest recipe that results in the desired behavior: > > <split><constant>1</constant><to uri="direct:Foo"/></split> > > Is there a more elegant way to do this? > > I tried <recipientList><constant>direct:Foo</constant></recipientList> > but the current Exchange was modified. > > > Thanks, > ~cg
-- 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 hawtio: http://hawt.io/ fabric8: http://fabric8.io/