Re: Exchange lifecycle

2013-03-18 Thread Lars-Erik Helander
Claus, thank you very much for the feedback. Regarding sending an exchange to another context I was thinking about when you use the camel-context component. Is your statement about ONLY still valid , considering that case? I read somewhere (think it was in "Camel in Action") that UnitOfWork is

Re: Exchange lifecycle

2013-03-18 Thread Claus Ibsen
On Sun, Mar 17, 2013 at 11:19 AM, helander wrote: > Can someone clarify the following: > > When an exhange is passed between routes, e.g. using "direct" or > "direct-vm", is then a new exhange created or is it the same exhange that > will be used in the "target" route? > Its the same. > If it

Re: Exchange lifecycle

2011-06-22 Thread boday
a couple of comments... -from(..) invokes a component's Consumer, to(...) invokes its Producer -the component's Endpoint creates the exchange -the same exchange is used throughout a route -polling consumers are generally in the from() clause to initiate a route/exchange (except when using pollEnri