Questions tagged [apache-camel-3]

52 questions
1
vote
1 answer

Can Apache Camel integrate with an old component version?

I wonder if it is possible to integrate an old version of a Camel component, with an application of a newer Apache Camel version. In my case I want to integrate to Hbase server version 1.2, that is supported only with HBase client 1.2. Therefore…
user7551211
  • 649
  • 1
  • 6
  • 25
1
vote
1 answer

How to add Global Exception Handling on RouteTemplate

I am looking for a way to add global exception handling on all routes generated by multiple RouteTemplates. I have tried the following way but the onException block is not getting added to the routes. Can you help me understand what I am doing…
Elif
  • 11
  • 2
1
vote
1 answer

How to solve org.apache.camel.FailedToCreateProducerException CaughtExceptionMessage: Failed to create Producer for endpoint?

I upgraded Camel components and code from 2.X.X to 3.7.3 Also, I recompiled sources in Java 11 before they worked in Java 8. Example of the route: from(direct:xyz) .to(URL_A) .transform() ... The issue arrives because after to, I get null. I…
Dmytro Chasovskyi
  • 3,209
  • 4
  • 40
  • 82
1
vote
0 answers

Reload the xml camel context into same camel context that is already reg

Requirement is to load the spring xml camel context that is available in table into application (Single XML has both context and routes in it). When application starts, need to read this xml from table load into application. for ex, assume the below…
1
vote
1 answer

How to configure REST properties in Java-only Camel Main?

I'm working on a simple "hello-world" Camel3 (Camel version 3.4.3) REST API example with the following setup: REST API is described in OpenAPI specification (Swagger v2.0) The API spec is converted to Java DSL with…
user272735
  • 10,473
  • 9
  • 65
  • 96
1
vote
1 answer

Exchange.NOTIFY_EVENT exchange option deprecated in camel 3.4 and looking for alternative

I have been using the Exchange.NOTIFY_EVENT option in the producer template as below within the exchange create event under event notifier to not to call the exchange create event again and it was working fine when i was using camel 2.24 core but…
James Mark
  • 319
  • 4
  • 15
1
vote
0 answers

Stop+intererupt an existing route

I have a Camel route which is waiting on a lock. Let's simulate it as following: context.addRoutes(new RouteBuilder() { @Override public void configure() throws Exception { from("timer://foo?period=100") …
user8870331
0
votes
0 answers

How to log concurrent consumer thread states in Apache camel seda?

I have a setup, one party is sending data, which is comes to seda endpoint with concurrent consumers defined as 10 in xml route defination, when the message is transformed, my guess is the message is picked up from queue by a thread and it starts…
Nishikant Tayade
  • 483
  • 3
  • 12
0
votes
1 answer

Apache Camel fails to create Route and produces bizarre Error message

I have developed a Java-Application using Apache Camel to archive a bunch of previously sorted files based upon the name of the subfolder they have been placed in. It works as expected running in Eclipse but fails to create the Route when I attempt…
0
votes
1 answer

Parallel process and compare in Apache Camel

I'm currently working in a camel project where there is a need to trigger a scheduler that would read data from two separate tables(say table A and B) simultaneously, then compare their outputs against each other, prepare a final list and update the…
0
votes
0 answers

How do I import routes from other xml files in apache camel 3.0

I want to import routes from another xml file in apache camel 3.0. I tried to use the and as I found in the camel docs. But these tags are deprecated in camel 3.0. So it's not working for me. Please guide me with respect to camel…
Adwaita
  • 1
  • 2
0
votes
0 answers

issues coming while upgrading spring boot 3.0.0 with apache camel 3.15.0 , routes are not getting started automatically

I have upgraded my Spring Boot application to version 3.0.0. However, after the upgrade, I encountered an issue where my Camel routes are not starting automatically. I have attempted to resolve this problem by upgrading the Camel version to 3.18.0,…
0
votes
0 answers

Apache Camel Exception Block not executed after calling a Custom component

We are using Apache Camel 3.14.x. In our Camel Route we have defined a ExceptionBlock like this;
0
votes
1 answer

Apache Camel REST post body parameter not shown in OpenAPI / Swagger doc

I am trying to set up a REST service with Apache Camel (v3.20.0) that, among other routes, offers a POST endpoint that receives a payload in the request body. I am trying to document my REST interface using the camel-openapi-java package using Java…
0
votes
1 answer

How to solve a Camel3 fat-jar creation exception?

I use Apache Camel 3.18.2 witch camel-main. To create a fat-jar I configured the following two plugins within my pom.xml: org.apache.camel camel-maven-plugin
PowerStat
  • 3,757
  • 8
  • 32
  • 57