Multiple from end points traversing to different routes

2017-04-14 Thread erevkub1
Hi All, Please suggest me on how to implement the below scenario. The requirement is to monitor multiple endpoint(like ftp, http) to fetch xml content. Assume there are 7 such input endpoint and those sources has to be monitored once a day and each for each input content, functionality is differen

Re: Camel-CDI in a multi-module project

2017-04-14 Thread Bernard Ligny
Hi Antonin astefanutti wrote > as long as they have a beans.xml file in module > > .jar/META-INF directory. Is this the case? No it was not the case - shame on me ! I naively thought that putting a *single* "beans.xml" on the webapp level was sufficient to activate the bean discovery for the *

Re: Multiple from end points traversing to different routes

2017-04-14 Thread Jonathan Schoreels
You could use pollEnrich in the 7 route to be triggered by a multicasted scheduler. Something like : from("quartz://groupName/timerName?cron=0+0/5+12-18+?+*+MON-FRI&trigger.timeZone=Europe/Stockholm") .multicast() .multicast().parallelProcessing().to("direct:httpConsumer", "direct:ftpC

Re: Camel-CDI in a multi-module project

2017-04-14 Thread Antonin Stefanutti
Hi Bernard, > On 14 Apr 2017, at 09:33, Bernard Ligny wrote: > > Hi Antonin > > > astefanutti wrote >> as long as they have a beans.xml file in module >> >> .jar/META-INF directory. Is this the case? > > No it was not the case - shame on me ! > I naively thought that putting a *single* "bea

Re: Multiple from end points traversing to different routes

2017-04-14 Thread erevkub1
Thanks for your quick response. I also tried using multiple routebuilder and tried a small POC and it worked. Please let em know if this is a good option? -- View this message in context: http://camel.465427.n5.nabble.com/Multiple-from-end-points-traversing-to-different-routes-tp5797650p579775

Transformation options

2017-04-14 Thread DariusX
The "Camel in Action" book says "Prefer to use beans over processors" (pg 112 in 2nd Edition), because they're not dependent on the Camel API. This leads me to a follow-up question: - if we need to tranform between 2 custom formats (i.e. annot use an existing Dataformat);and, - also do not need