So, considering this route: from("file:/outbox").to("someRemoteServer").to("file:/home/inbox");
What do you consider to be a better design: 1- a) files from outbox goes to remoteServer-producer b) remoteServer-producer sends file to remote connection c) remoteServer-endpoint forward remote incomingFiles to this route rather files from outbox 2- a) files from outbox goes to remoteServer-producer b) remoteServer-producer sends file to remote connection c) remoteServer-endpoint continue processing files from outbox to the rest of this route Bruno Borges www.brunoborges.com.br +55 21 76727099 "The glory of great men should always be measured by the means they have used to acquire it." - Francois de La Rochefoucauld On Tue, Sep 21, 2010 at 2:57 PM, Claus Ibsen <claus.ib...@gmail.com> wrote: > On Tue, Sep 21, 2010 at 7:17 PM, Bruno Borges <bruno.bor...@gmail.com> > wrote: > > Is this statement correct? > > > > Are all endpoint's consumers only created when Endpoint is referenced by > a > > from() ? > > > > consumers is created when they are needed. And from(xx) is created a > consumer on endpoint xxx. > Where as to(xxx) is created a producer on endpoint xxxx. > > > > Cheers, > > Bruno Borges > > www.brunoborges.com.br > > +55 21 76727099 > > > > "The glory of great men should always be > > measured by the means they have used to > > acquire it." > > - Francois de La Rochefoucauld > > > > > > -- > Claus Ibsen > Apache Camel Committer > > Author of Camel in Action: http://www.manning.com/ibsen/ > Open Source Integration: http://fusesource.com > Blog: http://davsclaus.blogspot.com/ > Twitter: http://twitter.com/davsclaus >