CXF, X509, signatures

2013-11-18 Thread mdo
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 message in context

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

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: from ... marshal base64 / /marshal to uri=smtp://... Anyway would be interesting if we can handle attachments in Blueprints though. Kind regards, mdo

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 list

Re: SFTP: disconnect on route-suspend

2013-06-25 Thread mdo
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 from the Camel - Users

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

2013-05-06 Thread mdo
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: 2.11, File2, Quartz: threads leaking

2013-05-03 Thread mdo
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.

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:

Re: 2.11, File2, Quartz: threads leaking

2013-05-03 Thread mdo
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: Is possible to wrap a part of route?

2013-05-03 Thread mdo
. 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.

File2: only move non-filtered

2013-05-02 Thread mdo
()) .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: http://camel.465427.n5.nabble.com/File2

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.

Re: Is possible to wrap a part of route?

2013-05-02 Thread mdo
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 Camel - Users mailing list

2.11, File2, Quartz: threads leaking

2013-05-02 Thread mdo
! 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: 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.nabble.com

FTP2: SFTP and target file paths

2013-04-22 Thread mdo
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: 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. When I insert this statement

2.11: NPE with replaceFirst()

2013-04-04 Thread mdo
it working again by changing my code to: simple${header.myUrlString.replaceFirst(http:,http4:)}/simple 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

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. -- View

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

2013-04-04 Thread mdo
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: Unmarshal CSV but continue route with unaltered message

2013-03-20 Thread mdo
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. -- View

Unmarshal CSV but continue route with unaltered message

2013-03-19 Thread mdo
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.

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

2013-03-18 Thread mdo
. 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.

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