RE: Issue accessing cert file in camel

2020-02-27 Thread Vikas Jaiswal
Hi Manoj, I am using embedded jetty and have configured it using .jks. I have read write permission on the file. For you, I guess you are trying to connect to https endpoint and you need certificates configured for it. i saw few examples on internet for the same but don't see

Re: catch error on Salesforce subscription

2020-02-27 Thread Zoran Regvart
Hi Andrés, I think it be easier to store the timestamp along with the replayId in the database and then set it accordingly. zoran On Thu, Feb 27, 2020 at 5:05 PM Andres Q wrote: > > Hi > > I have the following route definition: > > from("salesforce:data/ChangeEvents?replayId=" + > replayId).proc

RE: Issue accessing cert file in camel

2020-02-27 Thread Kaithakottil, Manoj (GST)
Hi Vikas, Maybe it's related to the version I am using. What file permissions do you have on that jks file you are using? I had thought about that as well and tried using a jks file but was still getting the same error trying to access that file. Are you doing the same configuration in you

catch error on Salesforce subscription

2020-02-27 Thread Andres Q
Hi I have the following route definition: from("salesforce:data/ChangeEvents?replayId=" + replayId).process(this::processDataChange); This subscribes to Salesforce Change Data Capture events and works fine. The problem is that if replayId (which is stored on a DB) is old (older than 24 hours) th

Re: Issue accessing cert file in camel

2020-02-27 Thread Vikas Jaiswal
I am using 2.24.3 and using .jks file for self signed certificate.it worked for me. Regards, Vikas On 27-Feb-2020 2:28 am, "Kaithakottil, Manoj (GST)" wrote: CAUTION: DO NOT click links, open attachments, or provide sensitive information if the sender is unknown We are facing the following er

RE: Issue accessing cert file in camel

2020-02-27 Thread Kaithakottil, Manoj (GST)
I am using Apache Camel 2.21.0. -Original Message- From: Andrea Cosentino Sent: Wednesday, February 26, 2020 5:21 PM To: users@camel.apache.org Subject: R: Issue accessing cert file in camel CAUTION: This email originated from outside of the organization. Do not click links or open a

[ANNOUNCEMENT] Apache Camel and Apache Camel Spring Boot 3.1.0 Released

2020-02-27 Thread Gregor Zurowski
The Camel community announces the immediate availability of Camel and Camel Spring Boot 3.1.0, a new minor release with over 291 new features, improvements and fixes. All users of Camel 3.0 are encouraged to upgrade to Camel 3.1 soon because there are some major memory usage optimizations in this

Re: Passing params between lifecycle managed routes

2020-02-27 Thread Claus Ibsen
Hi You can use a java bean to share state, and call it from the routes, just make sure the java bean is singleton scoped. On Thu, Feb 27, 2020 at 11:01 AM nomit babraa wrote: > > Hello > > Forgive any lack of understanding as I'm still learning. > > I have route A that is started and consuming

Passing params between lifecycle managed routes

2020-02-27 Thread nomit babraa
Hello Forgive any lack of understanding as I'm still learning. I have route A that is started and consuming from Queue1, I also have route B consuming from Queue2. This route is suspended onStart using a custom RoutePolicy. When route A gets a message, this message is consumed, processed and th

Re: special delay

2020-02-27 Thread Claus Ibsen
Hi Yeah it would be component specific if they have such a delay, for example timer, quartz, scheduler etc has such thing. But what you are asking for seems like to start routes delayed. At this moment this is not supported generic. But as Ralf says you can use a RoutePolicy and then manually sta

Re: special delay

2020-02-27 Thread Ralf Claussnitzer
Hello Joseph, if the Consumer does not support the delay you can use a RoutePolicy to defer the actual route start: from("timer:hello") .routeId("hello") .routePolicy(new RoutePolicySupport() { @Override public void onInit(Route route) {