Camel JDBC or SQL component vs SpringJDBCTemplate

2020-08-07 Thread WEIQUAN YUAN
Just wondering what is the implementation behind the camel jdbc or sql component, how is the performance compared to springJDBCTemplate? Thanks -- ~ Weiquan Yuan Located in Ottawa, Canada

code failing after getting response from saleforce "getJob" API

2020-08-07 Thread TRAPTI SINGHAL
Hi Team, We are using camel-salesforce-2.17.0.redhat-630377-sources.jar in our code. Seems like it's trying to validate the response received from salesforce and failing. Please let me know if we can make the validation flag off from our code so that it does not validate the response. We are ge

RE: Create ErrorHandler class

2020-08-07 Thread Shultz, Dmitry
You can customize the DeadLetterChannelBuilder the way you want it and register it in your RouteBuilder. Cheers, Dmitry -Original Message- From: Firas Khasawneh [mailto:firas.khasaw...@sas.com.INVALID] Sent: Friday, August 7, 2020 5:45 AM To: users@camel.apache.org Subject: Re: Create E

Re: Enabling global CORS support

2020-08-07 Thread Mark Nuttall
I am pretty sure it is because the annotation is Spring and the other is Camel and Spring is in control, not Camel. For a global way with spring, see this - https://spring.io/guides/gs/rest-service-cors/ On Fri, Aug 7, 2020 at 1:57 AM Ron Cecchini wrote: > > Hi, guys. > > I have a Camel (3.4.2)

Re: Create ErrorHandler class

2020-08-07 Thread Firas Khasawneh
Hi Claus, Thanks for your response. We need to be able to add more attributes and also implement different behavior. Regards, Firas On 8/7/20, 3:23 AM, "Claus Ibsen" wrote: EXTERNAL Hi You may be able to do, but I dont recommend it. What is it that the out of

Re: Problems passing Camel VM messages between multiple Spring Boot applications in Tomcat

2020-08-07 Thread Steve973
Hi, Claus. Thank you for your reply and for your feedback on my current implementation. I am willing to change it to be simpler/easier/more foolproof. What transport would you suggest that I use? I would be fine with switching to a JMS queue, or some other component. I still need to continue t

Re: HTTPS with Karaf 4.2.9 and underpinning undertow web server

2020-08-07 Thread Gerald Kallas
Hi, I tried this out but it doesnt work properly. (keystore and truststore are the same as with jetty setuo, they're valid). See below my configuration and the log. The HTTPS listener starts but neither the webconsole nor the servlet does work. On client side I'm getting Error: Client network

Re: HTTPS with Karaf 4.2.9 and underpinning undertow web server

2020-08-07 Thread Grzegorz Grzybek
Hello In theory (I can't check now), you have to: 1. comment out 2. ensure that org.ops4j.pax.web PID has org.osgi.service.http.enabled = false (so pax-web-undertow won't try to recreate the non-secure listener if it's not available in etc/undertow.xml) regards Grzegorz Grzybek pt., 7 sie 2020

Re: HTTPS with Karaf 4.2.9 and underpinning undertow web server

2020-08-07 Thread Gerald Kallas
Thanks, Grzegorz for the explanation. At the moment I'd be happy to use HTTPS (on 8443) only for all web related services (web console, servlets) w/ undertow and disable HTTP (on 8181). Could this be reached with the setup I have? Thanks - Gerald > Grzegorz Grzybek hat am 07.08.2020 10:47 ges

Re: HTTPS with Karaf 4.2.9 and underpinning undertow web server

2020-08-07 Thread Grzegorz Grzybek
Hello Unfortunately it is not possible to use the internal (managed by Pax Web) servlet runtime selectively - by specifying which listener (or more generally - virtual host) should be used for the servlets created and registered by Camel into HttpService (Pax Web) runtime. pax-web-jetty has parti

HTTPS with Karaf 4.2.9 and underpinning undertow web server

2020-08-07 Thread Gerald Kallas
Dear all, following the guidance in the ticket https://issues.apache.org/jira/browse/KARAF-6772 I was setting up a vanilla Karaf 4.2.9 with the following features feature:repo-add camel 3.4.2 feature:install pax-http-undertow feature:install camel camel-servlet webconsole I wonder how I can bi

Re: Delayed Retry over several days

2020-08-07 Thread Claus Ibsen
Hi Since its so many days then you may have a 2nd queue as "dead letter" and move the fault JMS message to this. And then have another route / scheduled logic etc that periodically moves message back to the input queue so they can be retried. On Tue, Jul 28, 2020 at 10:42 AM Michael Rambichler

Re: Create ErrorHandler class

2020-08-07 Thread Claus Ibsen
Hi You may be able to do, but I dont recommend it. What is it that the out of the box cannot do? On Thu, Aug 6, 2020 at 6:30 PM Firas Khasawneh wrote: > > Hi all, > > We need to create an Error Handler class since the available Camel Error > handler classes: DefaultErrorHandler, DeadLetterChan

Re: Problems passing Camel VM messages between multiple Spring Boot applications in Tomcat

2020-08-07 Thread Claus Ibsen
Hi You would need more JARs than just camel-core, such as camel-vm etc as well, and many others. And this is really IMHO a bad practice on tomcat to mess with classloading using this shared lib. On Thu, Aug 6, 2020 at 4:46 PM Steve973 wrote: > > We have an application stack, deployed in Tom