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
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
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
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
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
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.
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.
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:
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.
.
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.
())
.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
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.
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
!
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.
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
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.
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
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
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
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.
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
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.
.
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.
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
24 matches
Mail list logo