Content Based Router : Java DSL is not working

2015-05-25 Thread Kondalarv
I have choice with many options, and using java operation for conditions. The route is going to otherwise() option always and checckFilePattern() method is not executing. from(FILE_WATCHER_DSL) .log(LoggingLevel.INFO, FileWatchDSLUtil.getFileLogPattern())

Re: How to suppress exceptions from @Jsonpath expressions?

2015-05-25 Thread Preben.Asmussen
Hi Currently it's seems not possible to have optional jsonpath parameters on a bean since the component will throw an PathNotFoundException on missing path's. I think jsonpath should return null on unknown path's instead of throwing PathNotFoundException. If i recall right thats also the

route - XML - route

2015-05-25 Thread Tim Dudgeon
Hi, I'm wanting some guidance on how to generate a route definition using the API in a way that allows it to be converted to XML and then executed. I've got the basics sorted, but struggling on how to handle processors and beans. For instance, if I generate a route like this: // generate

What is the best way to implement RunLevel equivalent functionality with camel.

2015-05-25 Thread Zoltan Farkas
I want to be able in implement similar functionality like unix run levels .. level 1 - start level 1 set of routes level 2 - run all from level 1 + level 2 specific routes. ... I want to be able to go from level 1 - level 2 and vice versa. (starting/stopping the necessary routes..) What would

Re: Content Based Router : Java DSL is not working

2015-05-25 Thread yogu13
Hi, I would suggest to split the route in smaller route using direct and then check from(FILE_WATCHER_DSL) .log(LoggingLevel.INFO, FileWatchDSLUtil.getFileLogPattern()) .choice()

JSON Path Predicate

2015-05-25 Thread Jeremy Deane
Could some please post an example of using JSONPath against the Camel Payload to create a Predicate. The example here only used Expressions not a Predicate. http://camel.apache.org/jsonpath.html -- View this message in context:

Re: Web Srevice exposed over https not working

2015-05-25 Thread gargankur007
Hi William What more information will you need? What are the reasons that client may close connection? -- View this message in context: http://camel.465427.n5.nabble.com/Web-Srevice-exposed-over-https-not-working-tp5767156p5767441.html Sent from the Camel - Users mailing list archive at