Camel Synchronous One time Routing for files

2016-03-16 Thread Premkumar
I am trying to setup Synchronous dynamic one time only routes (File to FTP, FTP to File, File to SFTP, file to FTPS). I understand we can do synchronous routing using Producer Template and Consumer Template. But problem i am facing with Producer/Consumer template error handling. Consumer template

Quartz schedule too many workers in route

2016-03-16 Thread Hans Orbaan
Hello all, We have a few very busy routes that are throwing FileNotFoundExceptions when processing files (full stacktrace below). Searching for those filenames in the log it is very clear that those files have already been processed in the past minute and thus are not there. After removing the

Re: Use LDAP component to connect to different backend systems

2016-03-16 Thread Walzer, Thomas
Hi, I would remove/add the routes via the context API This was already discussed here: http://stackoverflow.com/questions/15248776/dynamic-change-endpoint-camel#15254698 Cheers, Thomas. > Am 15.03.2016 um 13:55 schrieb Kostov, Andreya : > > Hello, > > We are using Spring Web 4.2.4 and Apache

Re: CORS support in servlet

2016-03-16 Thread Patrick Valsecchi
For info, I've created an issue for that: https://issues.apache.org/jira/browse/CAMEL-9702 And Claus Ibsen has been very quick to fix. Thanks. On Wed, Mar 9, 2016 at 9:03 AM, Patrick Valsecchi < patrick.valsec...@camptocamp.com> wrote: > Hi, > > I'm trying to have CORS working with with the RES

Re: How to validate Body Content in Map Object

2016-03-16 Thread Claus Ibsen
Ah quick thought could be to add a component that validates using a Camel language, and uses simple by default, then you can do body[foo] == 'Hello' body[bar] > 100 eg in a plain text file where each line is a predicate. It could also be some kind of xml file where you can setup multiple group

Re: How to validate Body Content in Map Object

2016-03-16 Thread Claus Ibsen
No there is no such component. Creating a pojo vs a xml both requires work. The former is just java, the latter introduces a new limited language. How much validation do you need, eg what are your criteria's? On Wed, Mar 16, 2016 at 9:08 AM, Michele wrote: > Hi Ranx, > > thanks so much. > > Exa

Re: How to validate Body Content in Map Object

2016-03-16 Thread Michele
Hi Ranx, thanks so much. Exactly, key/values validation... I have different file with different criterions of validations and to create different Pojo is much expensive. Is there a compenent in camel with xml configuration to validate a Map Object? Thaks in advance Best Regards Michele --

Re: Extracting the 'cause' from org.apache.camel.RuntimeCamelException

2016-03-16 Thread Cristiano Costantini
Hello all again, Ok, I've found an alternative that I like it more: Instead of using the camel cxf component, I've tried using directly the CXF endpoint connected to a Camel Proxy: http://0.0.0.0:8090/proxyCxfService"; implementorClass="net.cristcost.MyBeanInterface"> http://camel.apache.org/