Re: File component: process a file only if a condition is satisfied

2016-04-18 Thread Nicolas74
Hi Claus, Ok, but there is no way to do it with Spring DSL ? Best, Nicolas -- View this message in context: http://camel.465427.n5.nabble.com/File-component-process-a-file-only-if-a-condition-is-satisfied-tp5781254p5781256.html Sent from the Camel - Users mailing list archive at Nabble.com.

File component: process a file only if a condition is satisfied

2016-04-18 Thread Nicolas74
Hello guys, I would like to consume a file ONLY if a condition is satisfied. If the condition is not yet satisfied, the file is not consumed until the condition is satisfied. I created this route: The problem is, even if my condition is not satisfied, the file seems to be consumed and is moved

Dynamic URI in From (header)

2015-11-09 Thread Nicolas74
Hello, I would like to use a dynamic URI with the consumer of my own custom component. I'm using $simple{header.myHeader} in the URI, however $simple{header.myHeader} is not replaced by the value... I checked the documentation, but there is no information about what I'm trying to do. The only tip

Re: Stop a route after execution and restart it later

2015-11-02 Thread Nicolas74
Hi Claus, Yep, I'm using the control bus as follows: http://camel.apache.org/schema/spring"; > ... process the CSV to get information in order to use my own PACS component -- View th

Stop a route after execution and restart it later

2015-11-01 Thread Nicolas74
Hello Camel guys /Camel version 2.15.2/ I created a Camel component to be able to download files from a PACS server. Basically, it's the consumer (that extends the DefaultConsumer class) that will download the files from the server. What I'm trying to do is the following: 1) With the file compon

Re: ftp-component: RemoteFile to a classic File

2014-12-08 Thread Nicolas74
Ok. Thanks for your help guys. Best, Nicolas. -- View this message in context: http://camel.465427.n5.nabble.com/ftp-component-RemoteFile-to-a-classic-File-tp5760227p5760284.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ftp-component: RemoteFile to a classic File

2014-12-07 Thread Nicolas74
Thanks. That's what I did, and it perflectly works. I have to process some modifications to the file through a java application. So, is it the only way to process my file ? Or is there a more optimized solution without downloading the file ? Best, Nicolas. -- View this message in context: htt

Re: ftp-component: RemoteFile to a classic File

2014-12-05 Thread Nicolas74
Ok, thanks Claus. So, the correct way to do this should be the following: Is that correct ? Is there another solution ? Thanks for your help, Best, Nicolas. -- View this message in context: http://camel.465427.n5.nabble.com/ftp-component-RemoteFile-to-a-classic-File-tp5760227p5760232.html S

ftp-component: RemoteFile to a classic File

2014-12-05 Thread Nicolas74
Hi all, I'm a little bit confused about ow to use RemoteFile in a processor with the ftp component. I have the following route : In my processor, I really don't know how to proceed to convert, in my processor, the RemoteFile to a classic File object. Any idea ? Best regards, Nicolas. --

Troubles to add WSS4JOutInterceptor to my cxf endpoint

2014-04-08 Thread Nicolas74
Hi, I would like to add a WSS4JOutInterceptor to my CXF endpoint. I do not use a samlPropFile. I configure my interceptor as follows:

Re: camel cxf (wsdl first) pojo: Can't find the BindingOperationInfo

2014-04-08 Thread Nicolas74
Ok, I got it ! It was due to: a mistake in my wsdl: soap:address location was incorrect and wrong address in my cxf endpoint. Best, Nicolas. -- View this message in context: http://camel.465427.n5.nabble.com/camel-cxf-wsdl-first-pojo-Can-t-find-the-BindingOperationInfo-tp5749822p5749967.html S

Re: camel cxf (wsdl first) pojo: Can't find the BindingOperationInfo

2014-04-06 Thread Nicolas74
Hi Claus, I tried to follow your advice: from("timer://updateWorkflowsStatus?fixedRate=true&period=6000") .setHeader("operationName", constant("updateJobsStatus")) .setHeader("operationNamespace", constant("http://XXX/";)) .

Re: camel cxf (wsdl first) pojo: Can't find the BindingOperationInfo

2014-04-05 Thread Nicolas74
Nicolas74 wrote > Hello camel guys :-) > > I'm trying to invoke my CXF Web Service (contract first) from a camel > route. > I would like to invoke the method "updateJobsStatus(String)" > However I get an Illega

camel cxf (wsdl first) pojo: Can't find the BindingOperationInfo

2014-04-04 Thread Nicolas74
Hello camel guys :-) I'm trying to invoke my CXF Web Service (contract first) from a camel route. I would like to invoke the method "updateJobsStatus(String)" However I get an IllegalArgumentException: Stacktrace