Re: Route Design Suggetion

2014-09-22 Thread imranrazakhan
Hi, Thanks for suggestions, "direct" will also help to minimize duplicate code. Regards, -- View this message in context: http://camel.465427.n5.nabble.com/Route-Design-Suggetion-tp5756825p5756837.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Route Design Suggetion

2014-09-22 Thread Charles Moulliard
> Regards, > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Route-Design-Suggetion-tp5756825p5756831.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io

Re: Route Design Suggetion

2014-09-22 Thread imranrazakhan
from one table and run business logic and save result in other table. Regards, -- View this message in context: http://camel.465427.n5.nabble.com/Route-Design-Suggetion-tp5756825p5756831.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Route Design Suggetion

2014-09-21 Thread Charles Moulliard
.otherwise() > > .to("bean:AirResponse?method=sendNotification") > .endChoice() > .endChoice() > .to("jpa:VasResponse?persistenceUnit=VasServicePU") > .end(); > > } > > Regards, > Imran > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Route-Design-Suggetion-tp5756825.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io

Route Design Suggetion

2014-09-21 Thread imranrazakhan
ot;) .endChoice() .endChoice() .to("jpa:VasResponse?persistenceUnit=VasServicePU") .end(); } Regards, Imran -- View this message in context: http://camel.465427.n5.nabble.com/Route-Design-Suggetion-tp5756825.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Route design

2013-05-11 Thread Christoph Emmersberger
Sorry for my quick response regarding the documentation. (1) Your example in Spring DSL works also when applying the Java DSL, It's just about the endpoint configuration, respectively the String parameter you are passing (2) May I try to summarize what you are trying a) Send a file to F

Re: Route design

2013-05-11 Thread Bruno Dusausoy
On 05/11/2013 04:14 PM, Christoph Emmersberger wrote: Well here is the documentation: http://camel.apache.org/ftp.html (1) Add the maven dependency to your project (2) Configure your endpoints (there are some parameters you can set as parameters, please refer to the documentation) Thanks for

Re: Route design

2013-05-11 Thread Christoph Emmersberger
Well here is the documentation: http://camel.apache.org/ftp.html (1) Add the maven dependency to your project (2) Configure your endpoints (there are some parameters you can set as parameters, please refer to the documentation) That's about it. Hope this helps, - Christoph On May 11, 2013, at

Re: Route design

2013-05-11 Thread Bruno Dusausoy
On 05/11/2013 09:46 AM, Christian Müller wrote: Why do you not use the Camel FTP/SFTP/FTPS component? I'd like to, but I don't know how to do it properly hence my question. I'm quite confused here because I have two consumers (file and ftp) and one producer (ftp). -- Bruno Dusausoy Software

Re: Route design

2013-05-11 Thread Christian Müller
Why do you not use the Camel FTP/SFTP/FTPS component? Best, Christian Sent from a mobile device Am 11.05.2013 09:35 schrieb "Bruno Dusausoy" : > Hi, > > I've set up a simple sandbox project[1] which polls a directory for files, > sends them via ftp to a specific input directory. Then I wait for

Route design

2013-05-11 Thread Bruno Dusausoy
Hi, I've set up a simple sandbox project[1] which polls a directory for files, sends them via ftp to a specific input directory. Then I wait for the server to transform the files. In the end I fetch them from another specific directory on the ftp server. Basically my route is defined as is :