RE: Poll enrich with mail component will lose attachments

2022-09-06 Thread Mi Jane 米静
Hi Claus, Yes. My test of poll enrich + mail is local running on vanilla Quarkus and Camel, not Camel K. Here are the results: i. Test Camel 3.18 Quarkus 2.11: no attachment ii. Test Camel 3.17 Quarkus 2.10: no attachment iii. Test Camel 3.16 Quarkus 2.9: no attachment iv. Test Camel 3.16 Quarku

Encrypt header value.

2022-09-06 Thread Wilken Marci J
HI all, Issue: sensitive data getting passed from the exchange header to the logs in the clear. Is there a way to encrypt header value in camel? I've got several values; id, ssn, dob, password that get passed around in the message header or that I would like to pass in the header. I would

Re: Types in routeTemplates

2022-09-06 Thread Claus Ibsen
Ah yeah we need a timeout that takes a string value .pollEnrich("myUrl).timeout("xxx") I just added that to 3.19 and 3.18.x On Tue, Sep 6, 2022 at 4:46 PM ski n wrote: > I like to create a route template with a parameter of a specific Java type. > > For example the following routetemplat

RE: Poll enrich with mail component will lose attachments

2022-09-06 Thread Mattern, Alex
Mi Jane, You could consider writing your own custom: MiJaneEmailEndpoint extends DefaultEndpoint MiJaneEmailComponent extends DefaultComponent MiJaneEmailPollConsumer extends ScheduledPollConsumer This is as we have done and we can receive attachments from Microsoft Exchange. Camel version 3.7.2

Re: dynamic naming dlq

2022-09-06 Thread Bing Lu
thank you very much, sir. On Tuesday, September 6, 2022 at 10:36:13 AM EDT, Claus Ibsen wrote: Hi No but you can use a direct route, where you use toD to send to dynamic queue, something ala: deadLetterChannel("direct:to-dlq") from direct:to-dlq   toD("activemq:myerror-at-${routeId

Types in routeTemplates

2022-09-06 Thread ski n
I like to create a route template with a parameter of a specific Java type. For example the following routetemplate: routeTemplate("mypollenrich") .templateParameter("timeout","5000") .from("direct:in") .pollEnrich("myuri", "{{timeout}}","CurrentEnrichStrategy")

Re: dynamic naming dlq

2022-09-06 Thread Claus Ibsen
Hi No but you can use a direct route, where you use toD to send to dynamic queue, something ala: deadLetterChannel("direct:to-dlq") from direct:to-dlq toD("activemq:myerror-at-${routeId}") On Tue, Sep 6, 2022 at 4:16 PM Bing Lu wrote: > Hi, is there a way to dynamic name the dlq name

dynamic naming dlq

2022-09-06 Thread Bing Lu
Hi, is there a way to dynamic name the dlq name based on routeid? I currently have it as the following which means every error is going to the same dlq. thanks errorHandler(deadLetterChannel("activemq:queue:sth.dlq"))

Re: Camel and OSGI support

2022-09-06 Thread George Daswani
> Personally, I've used blueprint with OSGI, Camel for several years now - still works just fine even with the latest version of Karaf (4.3.X - haven't tried 4.4.1), Camel (3.18.1), and JDK 11. Just to add more info, our camel routes are bundled as OSGI / JAR files, and use BLUEPRINT with the JAVA

Re: Camel and OSGI support

2022-09-06 Thread George Daswani
Personally, I've used blueprint with OSGI, Camel for several years now - still works just fine even with the latest version of Karaf (4.3.X - haven't tried 4.4.1), Camel (3.18.1), and JDK 11. On Tue, Sep 6, 2022 at 4:03 AM Bert Speckels wrote: > Some (all) good points Raymon > > I think this is

Re: Camel and OSGI support

2022-09-06 Thread Bert Speckels
Some (all) good points Raymon I think this is a very good summary and I have nothing to add :-) Currently we are trying to use some workarounds: - Live without CDI ... I think this is less painful than we think at the moment. - Build our own Endpoint DSL :-) ... not quite difficult - Wrap Morphia

Re: Poll enrich with mail component will lose attachments

2022-09-06 Thread Claus Ibsen
Hi Did you test this on vanilla Quarkus and Camel (not Camel K) On Tue, Sep 6, 2022 at 7:27 AM Mi Jane 米静 wrote: > Hi Claus, > > I tested Camel 3.18.0 with Quarkus 2.11.0. The result is the same: I got > the mail message but no attachment. > > Regards, > Jane > > -Original Message- > F

Re: Camel K 1.6.x Cron Job will shutdown unexpectedly when I use Split EIP

2022-09-06 Thread Pasquale Congiusti
Hi Jane, feel free to report the issue you're facing in github issue if tested against a community version. Any log or reproducer would be great to help troubleshooting. Cheers, Pasquale. On Tue, Sep 6, 2022 at 10:10 AM Mi Jane 米静 wrote: > Hi Claus, > > Glad to hear about the news of Red Hat wo

Re: Camel and OSGI support

2022-09-06 Thread ski n
Hi Bert, The mailing list is fine for general discussions regarding Camel. It's surely not just about questions on errors, but some share experience, blogs, releases, projects or just need to some help with decisions they need to make. This is all community based, so sometimes you are lucky that p

RE: Camel K 1.6.x Cron Job will shutdown unexpectedly when I use Split EIP

2022-09-06 Thread Mi Jane 米静
Hi Claus, Glad to hear about the news of Red Hat working on releasing 1.8. I'll try it later. Thanks! I've just found a workaround to use trait camel.runtime-version=1.14.0 to override the default version 1.6.x. Though, there is still another blocker on my way in the other mail thread: Poll e

Re: Camel K 1.6.x Cron Job will shutdown unexpectedly when I use Split EIP

2022-09-06 Thread Claus Ibsen
Hi Yeah I vaguely remember now something on top of my head that there was such a bug that has since been fixed in Camel. Do you really need to run this as a k8s cron job? You could turn that off and let the pod keep running and let Camel trigger it periodically as a normal Camel app. A workaround

Re: netty http component - SNI missing in SSL handshake

2022-09-06 Thread Zoran Regvart
Hi Ashitosh, also make sure that you're using latest Java version, for example if you're using Java 1.8 you might be running into this issue: https://bugs.openjdk.org/browse/JDK-8144566 zoran On Mon, Sep 5, 2022 at 5:24 PM Somvanshi, Ashitosh wrote: > > Hello Support team, > > We are using came

Camel K 1.6.x Cron Job will shutdown unexpectedly when I use Split EIP

2022-09-06 Thread Mi Jane 米静
Dear community, I’m trying Camel K and using RedHat operator, which the latest version is 1.6.x. When I used Split EIP with Cron, I found the Cron Job pods sometimes shutdown before all the split exchanges were completed. Seems the issue is fixed in Camel K later version. Because when I tried t