Re: onException and onCompletion clauses used together

2022-08-12 Thread Karen Lease
Hi Eduard, I think the behavior for the "handled" case is consistent with the documentation for the exception clause (https://camel.apache.org/manual/exception-clause.html): "If handled is true, then the thrown exception will be handled and Camel will not continue routing in the original rou

Re: JSONPath use own ObjectMapper instead of global

2022-04-29 Thread Karen Lease
se its own default ObjectMapper. /M --- Original Message --- On Wednesday, April 27th, 2022 at 18:27, Karen Lease wrote: I had a look at the JIRA issue you created for this. The JacksonMappingProvider is used only to read the Json, not to write it. With jsonpathWriteAsString,

Re: JSONPath use own ObjectMapper instead of global

2022-04-27 Thread Karen Lease
ect value : ((Map)body).values()) { if (value instanceof Double) { String d = String.format("%12.2f", value); ... Is that helpful? Karen Lease On 13/04/2022 06:47, Mikael Andersson Wigander wrote: OK, will do that. However if I use jsonpathWriteAsString then it uses a global O

Re: JdbcAggregationRepository is not permanently?

2022-04-08 Thread Karen Lease
Hi, To store the aggregated results, you need to create a separate table in your database. Then you can add something like the following statement to your route after the aggregation: .to("sql:insert into messages (doctype, messageID) values (:#doctype, :#messageID)"); The values of the name

Re: CamelSqlGeneratedKeyRows is not updated

2022-03-25 Thread Karen Lease
Hi, There was a similar issue a while back (CAMEL-16761). In that case, the issue occurred in a loop but I think the root cause is the same. The solution suggested by Jeremy should work; you need to insert .removeHeader("CamelSqlGeneratedKeyRows") before your second ".to("sql:INSERT..."). Rega

Re: Jdbc Aggregation and K8s

2022-03-11 Thread Karen Lease
null Exchange in this case before trying to defreference it. Would you like to create a JIRA issue? Regards, Karen Lease On 10/03/2022 23:30, Mark Nuttall wrote: FYI we tried using ClusterJDBCAggregationRepository, but we can’t use because it requires instance_id. Also, our organization does

Re: Generated paths in camel-open-api-java 3.14.0

2022-01-27 Thread Karen Lease
Message- From: Karen Lease Sent: Tuesday, January 25, 2022 5:46 PM To: users@camel.apache.org Subject: Re: Generated paths in camel-open-api-java 3.14.0 Dear Bas, The change has been committed in the main branch of the repository (3.15.0-SNAPSHOT) if you want to test it. Only the camel-openapi

Re: Generated paths in camel-open-api-java 3.14.0

2022-01-25 Thread Karen Lease
ell. Kind regards, Bas Vanmeulebrouk. -Original Message----- From: Karen Lease Sent: Wednesday, January 19, 2022 3:51 PM To: users@camel.apache.org Subject: Re: Generated paths in camel-open-api-java 3.14.0 Hi Bas, I'm working on the fixes Claus mentioned and will commit a PR soon whi

Re: Generated paths in camel-open-api-java 3.14.0

2022-01-19 Thread Karen Lease
using the server URL generated by the Camel openapi-java component. Thanks, Karen Lease On 19/01/2022 14:49, Claus Ibsen wrote: Hi There are some JIRAs and fixes on the way, so try 3.14.1 when its released, or 3.15.0, or try the SNAPSHOT builds and help test. On Wed, Jan 19, 2022 at 1:48

Re: Apache Camel - Jolt Remote Spec Issue

2022-01-06 Thread Karen Lease
Hello Gaurav, Maybe it's a silly question but are you sure the URL is accessible without providing some authentication? The one in the example below returns an access denied error if I put it in my browser. What error are you getting in Camel? And please tell us which Camel version you're usin

Re: camel-quartz is misfiring on startup

2022-01-06 Thread Karen Lease
Hi Santiago, Sorry for the late reply, but it seems no one else picked up on this yet. I think the behavior you see is related to the time between the creation of the job trigger in Quartz and when Camel finishes initializing and the Quartz scheduler is actually started. The initial fire time

Re: CamelSpringBootRunner no longer working since 3.5.0?

2021-09-11 Thread Karen Lease
I created CAMEL-16945. Sorry for the previous incomplete mail. Karen On 10/09/2021 08:10, Claus Ibsen wrote: Hi Karen Yeah sure you are very welcome to fix the spring boot tests.

Re: CamelSpringBootRunner no longer working since 3.5.0?

2021-09-11 Thread Karen Lease
On 10/09/2021 08:10, Claus Ibsen wrote: junit-vintage-engine dependency

Re: CamelSpringBootRunner no longer working since 3.5.0?

2021-09-09 Thread Karen Lease
l I create a JIRA to update the camel-spring-boot tests to Junit5 and fix any that are broken? Karen On 09/09/2021 13:35, Claus Ibsen wrote: Hi junit4 is deprecated and to be removed in a future Camel release. On Thu, Sep 9, 2021 at 1:03 PM Karen Lease wrote: Hi Evert-Jan, I found a workin

Re: CamelSpringBootRunner no longer working since 3.5.0?

2021-09-09 Thread Karen Lease
Hi Evert-Jan, I found a working Junit5 solution in current camel and addded a comment a working files to the JIRA issue. But so far I didn't figure out why it no longer works with Junit4. Regards, Karen Lease On 06/09/2021 11:22, Evert-Jan de Bruin wrote: Hi Claus, I have created a

Re: rest dsl strange behaviour when processor used

2021-08-30 Thread Karen Lease
will not be evaluated? Or would this also add too much overhead? Karen Lease On 29/08/2021 16:27, Claus Ibsen wrote: Hi This is not a bug, or something like that. When you use a Processor then its "normal" java code you write there, so setting a message header, og body or exchang