Periodic route activation use case

2012-08-25 Thread Ashwin Pejavar
I have a use-case where I need to consume files at a fixed cron schedule. For example, I need my input route to resume everyday at 6AM, process all files collected in the input directory and go into suspension till 6AM the following day. I was hoping the CronScheduledRoutePolicy would be useful,

Re: concurrent users with camel routes

2012-08-25 Thread Christian Müller
Hi Javakurious! Please find my responses inline in your mail. Best, Christian On Thu, Aug 23, 2012 at 4:28 AM, javakurious wrote: > Thanks Christian for the response. > > If I understand your response correctly, a single instance of processor > will > be shared between thread safe. Isn't that

Re: Camel Exception Handling issue

2012-08-25 Thread Marco Mistroni
Hello Claus thanks a lot for the tip! w/kindest regards marco On Sat, Aug 25, 2012 at 9:02 AM, Claus Ibsen wrote: > On Fri, Aug 24, 2012 at 10:27 PM, Marco Mistroni > wrote: > > HI all > > i have implemented exception handling in my camel app this way > > > > > > > >

Re: Setting root folder as endpoint - Could not poll endpoint NPE

2012-08-25 Thread Claus Ibsen
I have logged a ticket and reproduced the issue https://issues.apache.org/jira/browse/CAMEL-5540 On Wed, Aug 22, 2012 at 9:42 PM, Claus Ibsen wrote: > On Wed, Aug 22, 2012 at 7:37 PM, Pontus Ullgren wrote: >> Here [1] is a testcase to reproduce the issue. However I'm not sure if >> this really

Re: Defaulting using XSLT.

2012-08-25 Thread Claus Ibsen
Hi Yeah the xslt component does xslt transformations. http://camel.apache.org/xslt On Fri, Aug 24, 2012 at 3:24 PM, anupamsen wrote: > Hi, > > I have a requirement such that I need to merge 2 XMLs, The sources are as > follows - > 1) XML coming in as an input payload as part of WS > 2)The defaul

Re: Camel Exception Handling issue

2012-08-25 Thread Claus Ibsen
On Fri, Aug 24, 2012 at 10:27 PM, Marco Mistroni wrote: > HI all > i have implemented exception handling in my camel app this way > > > > /> > > uri="bean:sharesEndpointBean?method=handleBloombergShare" /> > >

Re: onException invoked even when there is no exception

2012-08-25 Thread Murari Raghavan
Thanks Claus. I would like the OnException to be route specific. When I define the onException right after .from, the .process call after the .split() cannot be resolved. That was the reason I moved it after the .split() call. Any suggestions? from("file://statusresponseinbound"

Type Conversion Exception

2012-08-25 Thread Joe San
Guys, I have an xml for which I generated the xsd and using this xsd, I generated my model objects using xjc. When I tried them using my route, I got the following exception: org.apache.camel.TypeConversionException: Error during type conversion from type: com.sun.org.apache.xerces.internal.dom.