Re: How to adviceWith in Camel 3.10 ?

2021-06-24 Thread mail4bvn
Oh, colleague... I have solved all the issues I faced today. Here are my points. 1) to use the bery last approaches of Camel testing you should use Camel Spring JUnit5 testing Kit. You can use it with following dependensies testImplementation 'org.springframework.boot:spring-boot-starter-test'

RE: How to adviceWith in Camel 3.10 ?

2021-06-24 Thread Steve Huston
I got stuck on the same point... there is a good explanation in the Camel 3 migration guide: https://camel.apache.org/manual/latest/camel-3-migration-guide.html Search for "advice" in that page. -Steve > -Original Message- > From: mail4...@gmail.com > Sent: Thursday, June 24, 2021

Re: Simple JMS Batch componenst

2021-06-24 Thread Nenad Šiler
Will Camel 3.12 and onwards versions support Java 8? Kind Regards, Nenad Siler. (software developer) On 2021/06/23 14:40:41, Claus Ibsen wrote: > Hi > > We will work on a more general transactional batching consumer in > Camel 3.12 onwards > https://issues.apache.org/jira/browse/CAMEL-16751 >

JAXB unmarshalling issue

2021-06-24 Thread mail4bvn
I'm using Camel 3.10 My route definition is similar to final JaxbDataFormat jaxbCardService = new JaxbDataFormat(true); jaxbCardService.setContextPath("com.project.generated.cardservice"); from("direct://" + QUEUE_CREATE_PERSON) .to("cxf://host:port/service/name") // receives

Re: Kafka consumer wont recover after WakeupException

2021-06-24 Thread Claus Ibsen
Hi Can you try with Camel 3.11 (on the way) and Kafka 2.8 clients. On Thu, Jun 10, 2021 at 5:26 PM SRIKANT MVS wrote: > > Hi Team, > I upgraded the camel version to 3.9 and the kafka-client jar upgraded to > 2.7.0. I could see that kafka consumers are able to resume from the > WakeupException

Re: Camel toD() questions

2021-06-24 Thread Calle Andersson
Sorry for the spamming. My thoughts are starting to run circles in my mind. :) Ad 3) I believe you could ignore the comment regarding CamelHttpRawQuery not beeing URL encoded since it seems to be handled in HttpHelter.createURI(...). (I saw the CamelHttpQuery and CamelHttpRawQuery headers

Why?

2021-06-24 Thread Mike Oliver
I have been struggling with camel-blueprint.xsd When I use this... https://camel.apache.org/schema/blueprint/camel-blueprint.xsd Why would you choose to change from the unambiguous 'headerName' to the ambiguous 'name' ? I hope there was a good reason, but it does cause problems, like the one

How to adviceWith in Camel 3.10 ?

2021-06-24 Thread mail4bvn
Hello. Seems it is unable to adviceWith route definitions in Camel 3.10 anymore. Isn't it? My project is SpringBoot project with dependensies:  - camel-spring-boot-starter:3.10.0, - spring-boot-starter-test, - camel-test-spring-junit5:3.10.0 I got stuck on writing my test. My intention is to

Re: Camel toD() questions

2021-06-24 Thread Calle Andersson
​A complement to my last mail. Ad 3) After some more investigation I realized that the http-component consumer doesn't set the CamelHttpRawQuery header (so maybe it isn't a miss in the documentation after all). However, the header is still handled by the code I referenced in my last mail when