CXF, X509, signatures

2013-11-18 Thread mdo
I know the dynamic router EIP but doubt if it was clever to create endpoints for each combination of certificate and server. I assume this may go up above one thousand. Is there any viable setup to implement this with Camel or am I better off creating a Java client? Regards, mdo -- View this

Re: Mail: watch folder, send files via mail component

2013-07-19 Thread mdo
Ok, seems to be pretty easy, if one can put away attachments and stick to simply sending files via BASE64 encoded body: http://camel.465427.n5.nabble.com/Mail-watch-folder-send-files-via-mail-component-tp5735909p5735910.html Sent from the Camel - Users mailing list archive a

Mail: watch folder, send files via mail component

2013-07-19 Thread mdo
Hello, is there a way to consume files and attach them to a mail without using Java code, e.g. sticking to a Blueprint definition? I have a folder where a legacy application places tgz archive files into and I would like to have them forwarded via SMTP. Kind regards, mdo -- View this

Re: SFTP: disconnect on route-suspend

2013-06-25 Thread mdo
doesn't seem to work neither. JSCH goes nuts and disconnects right before logging in and "SSH_MSG_KEXDH_INIT sent" should get logged. Regards, mdo. -- View this message in context: http://camel.465427.n5.nabble.com/SFTP-disconnect-on-route-suspend-tp5734742p5734744.html Sent

SFTP: disconnect on route-suspend

2013-06-25 Thread mdo
suspend the routes. JSCH shall re-login when I restart the routes, I don't want to keep connections open. How can I achieve this? Thanks, mdo. -- View this message in context: http://camel.465427.n5.nabble.com/SFTP-disconnect-on-route-suspend-tp5734742.html Sent from the Camel - Users mailing

Re: What the main Difference between Stoppping the Route and Suspending the Route

2013-05-06 Thread mdo
of new messages temporarily. Regards, mdo. -- View this message in context: http://camel.465427.n5.nabble.com/What-the-main-Difference-between-Stoppping-the-Route-and-Suspending-the-Route-tp5732059p5732071.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Is possible to wrap a part of route?

2013-05-03 Thread mdo
parameters at time of the route definition, you don't have to loop values through header fields. Doesn't this suffice your requirements? Regards, mdo. -- View this message in context: http://camel.465427.n5.nabble.com/Is-possible-to-wrap-a-part-of-route-tp5731917p5731964.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: 2.11, File2, Quartz: threads leaking

2013-05-03 Thread mdo
nection open. Will go and shut it down somehow else now ... Regards, mdo. -- View this message in context: http://camel.465427.n5.nabble.com/2-11-File2-Quartz-threads-leaking-tp5731922p5731963.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: 2.11, File2, Quartz: threads leaking

2013-05-03 Thread mdo
One addition regarding the thread count: besides the MBeans, VisualVM and jstack do list them as live threads, so I'm able to pile up hundreds of live threads by triggering my route that often. -- View this message in context: http://camel.465427.n5.nabble.com/2-11-File2-Quartz-threads-leakin

Re: 2.11, File2, Quartz: threads leaking

2013-05-03 Thread mdo
top.start(); } The additional check for isAlive is there because the processor instance is reused with each route-start-stop-cycle. Regards, mdo. -- View this message in context: http://camel.465427.n5.nabble.com/2-11-File2-Quartz-threads-leaking-tp5731922p5731956.html Sent from the Camel - Users mailing list archive at Nabble.com.

2.11, File2, Quartz: threads leaking

2013-05-02 Thread mdo
ish 3 CDI Camel context Camel 2.11.0 Any hints? Thanks in advance! Regards, mdo. -- View this message in context: http://camel.465427.n5.nabble.com/2-11-File2-Quartz-threads-leaking-tp5731922.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Is possible to wrap a part of route?

2013-05-02 Thread mdo
you can continue on the reference to this ProcessorDefinition. Just have a look at the return values of the route building statements. Regards, mdo. -- View this message in context: http://camel.465427.n5.nabble.com/Is-possible-to-wrap-a-part-of-route-tp5731917p5731918.html Sent from the Ca

Re: File2: only move non-filtered

2013-05-02 Thread mdo
Thank you Claus! Just to add it to this thread: I now use the "include" option of file2 with my regex. -- View this message in context: http://camel.465427.n5.nabble.com/File2-only-move-non-filtered-tp5731908p5731913.html Sent from the Camel - Users mailing list archive at Nabble.com.

File2: only move non-filtered

2013-05-02 Thread mdo
) .process(new MyProcessor()) .to(...); So only files ending with a .txt-suffix should get processed which does work. But Camel shall leave the remaining files at their source position. How can I prevent Camel from moving them to .done? Regards, mdo. -- View this message in context:

Re: Problems with sftp in Camel 2.11.0

2013-04-23 Thread mdo
BTW: I'm using URIs like this successfully with 2.11: sftp://192.168.1.2:22//home/user/ sftp://localhost//tmp/subdir/ Both being absolute paths. Login name and passwords appended along with other options. Regards, mdo. -- View this message in context: http://camel.465427.n5.nabbl

Re: Problems with sftp in Camel 2.11.0

2013-04-23 Thread mdo
ary in order to define an absolute URI which I assume is what you want to do. Regards, mdo. -- View this message in context: http://camel.465427.n5.nabble.com/Problems-with-sftp-in-Camel-2-11-0-tp5731359p5731370.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP2: SFTP and target file paths

2013-04-22 Thread mdo
mdo wrote > from: sftp://localhost//home/user/ > to: file://tmp/ exchange.in.headers has the header "CamelFileName" where an SFTP consumed file has the complete path including the endpoint path whereas a file that comes from a FILE endpoint only has the relative path. Wh

FTP2: SFTP and target file paths

2013-04-22 Thread mdo
ly behaves differently, it only uses the relative part on the target. The desired outcome is /tmp/dir1/file1. Thanks. mdo -- View this message in context: http://camel.465427.n5.nabble.com/FTP2-SFTP-and-target-file-paths-tp5731220.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CSV component and Mac line endings (carriage return only)

2013-04-04 Thread mdo
nt for now and use my workaround. Best regards, mdo. -- View this message in context: http://camel.465427.n5.nabble.com/CSV-component-and-Mac-line-endings-carriage-return-only-tp5730323p5730368.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Route stops processing abruptly

2013-04-04 Thread mdo
Hello Hema, in which context does your route run, OSGi container, standalone Java application ...? Did you try to raise the log level? In what way does it "stop" -- does it simply hang or does the process die? What does your route do with the received messages? Regards, mdo. --

CSV component and Mac line endings (carriage return only)

2013-04-04 Thread mdo
t that dates back before the patch date obviously. Can anyone comment if this is an issue of the Servicemix bundle or the dependency version in Camel? Regards, mdo. -- View this message in context: http://camel.465427.n5.nabble.com/CSV-component-and-Mac-line-endings-carriage-return-only-tp

2.11: NPE with replaceFirst()

2013-04-04 Thread mdo
is null. I've got it working again by changing my code to: ${header.myUrlString.replaceFirst("http:","http4:")} Is this a bug in 2.11? Regards, mdo. -- View this message in context: http://camel.465427.n5.nabble.com/2-11-NPE-with-replaceFirst-tp5730321.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Unmarshal CSV but continue route with unaltered message

2013-03-20 Thread mdo
halled data for validation 3. to some destination A, maybe a remote FTP site or a local directory A file that failed to validate should be moved into a failed-directory on the source side. My question is how can I use the original file content/in-message in my to()? Best regards, mdo. -- Vie

Unmarshal CSV but continue route with unaltered message

2013-03-19 Thread mdo
d way of doing this? Thanks, mdo. -- View this message in context: http://camel.465427.n5.nabble.com/Unmarshal-CSV-but-continue-route-with-unaltered-message-tp5729446.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: stopRoute(): Waiting as there are still X inflight and pending exchanges to complete

2013-03-18 Thread mdo
Hello Claus, thanks for your quick answer! Claus Ibsen-2 wrote > See this FAQ how to stop a route from a route > http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html I've seen these examples but is it necessary to start a new thread? I've seen examples with the following procedure

stopRoute(): Waiting as there are still X inflight and pending exchanges to complete

2013-03-18 Thread mdo
will return 0 I've tested with Camel 2.10/2.11. Any hints? Thanks in advance. mdo -- View this message in context: http://camel.465427.n5.nabble.com/stopRoute-Waiting-as-there-are-still-X-inflight-and-pending-exchanges-to-complete-tp5729348.html Sent from the Camel - Users mailing list archive at Nabble.com.