Questions tagged [apache-camel-3]
52 questions
0
votes
1 answer
Invoking an Apache Camel Route programatically
I have a stand-alone Spring-Boot Java Application with many routes. One camel route uses the sftp component which is set up to retrieve and process files.
However, I do not want to periodically poll for new files, I would like to trigger or invoke…

user1472672
- 313
- 1
- 9
0
votes
1 answer
EndpointConfiguration in Apache camel after 2.19.0 version deprecated
In our application we were using older camel version where EndpointConfiguration interface and getEndpointConfiguration() method are referenced [Returns the object representation of the endpoint configuration].
From 2.19.0 camel version we see it's…

Dheenan
- 1
0
votes
0 answers
Is there a way limit the members of a camel-cluster (using KubernetesClusterService) using a pod selector (selection)
I am programmatically creating my CamelContext and successfully creating the ClusterServiceProvider using the KubernetesClusterService implementation. When running in my kubernetes cluster, it is electing a leader and responding appropriately to…

Brad Rust
- 1
- 1
0
votes
1 answer
Idempotency in a camel application running in Kubernetes cluster
I am using apache camel as integration framework in my microservice. I am deploying it in a Kubernetes cloud as multiple pods. I had written a route for reading file from a directory and write to another. But I am facing an issue as the different…

Abhi
- 101
- 6
0
votes
0 answers
Java Migration: Apache Camel moved to 3.0 but Maven not able to download jars
I changed camel version to 3.0.0 from 2X during Java Migration.
3.0.0
When i build everything then i get following in eclipse
but all camel class turns not readable.
I explode jar in maven directory…

fatherazrael
- 5,511
- 16
- 71
- 155
0
votes
1 answer
Camel routeBuilder.weaveById fails when using an ID that is a templated route parameter
Summary:
I am getting an IllegalArgumentException from my junit trying to test a templated route that is
built from a template that I created in a 2nd RouteBuilder class.
You can see in the CreateTemplate class I'm trying to use the 3rd template…

jvh003
- 1
0
votes
0 answers
Apache Camel - process in XML DSL using #class not working
I am trying to build a camel standalone app for a one-time activity - using camel-main. I have successfully built XML DSL for basic routing.
Now as part of the process, I want to invoke a custom java processor.
As per…

Chirag S
- 23
- 4
0
votes
1 answer
Camel SFTP started failing after camel 2.22.1 - camel 3.9.0 upgrade
In camel 2.22.1 I used the following camel route to perform a file operation
from(sftp://" + sourceUrl + "&preferredAuthentications=password&includeExt=xml&delete=true&disconnect=true&maxMessagesPerPoll=50&preMove=${file:name.noext}.process")
this…

D007
- 31
- 1
- 4
0
votes
1 answer
Apache Camel components' version compatibility
I've found out that it is very uncommon to choose a client version that is not the same as the server's version (for example in HBase client - server’s version compatibility).
On the other hand, I've got an answer about Camel compatibility that had…

user7551211
- 649
- 1
- 6
- 25
0
votes
1 answer
Why property doesn't get evaluated correctly in Camel 3.7.3?
I have a route
String XYZ = "xyz";
from(URL_A)
.bean(PropertiesSetterBean.class)
.to("${property." + XYZ + "}")
where PropertiesSetterBean is:
@Component
class PropertiesSetterBean {
public void copyProperties(@Headers Map…

Dmytro Chasovskyi
- 3,209
- 4
- 40
- 82
0
votes
2 answers
How to fix several input per route in Camel 3.X.X?
I have a route that looks like this:
from(URL_A)
.from(URL_B)
.to(URL_C)
.process(...)
// logging
.to(URL_D)
This route works perfectly in Camel 2.X.X but not in 3.7.X
The error message I get:
Only one input is allowed per route. Cannot…

Dmytro Chasovskyi
- 3,209
- 4
- 40
- 82
0
votes
1 answer
FailedToCreateRouteException: Failed to create route.. at: >>> SetHeader[null, constant{}] <<< in route: because of headerName must be specified
I'm creating a route like that:

Eljah
- 4,188
- 4
- 41
- 85
0
votes
0 answers
CamelExecutionException: java.lang.NoClassDefFoundError: org/apache/camel/tooling/model/ComponentModel
I am using JDK 11, apache camel 3.4.0 and WildFly 20.0.1.Final and have following error in the wildfly console.
10:39:19,982 ERROR [com.interfaces.processors.common.GarbageProcessor] (default task-1) process().EXCEPTION_CAUGHT : CamelExceptionCaught…

Mihan
- 1
- 1
- 1
0
votes
1 answer
Set a http socket timeout correctly in camel 3
Having this Spring-XML config
I've got a socketTimeout is a custom option that is not part of the Camel component…

Greenev
- 871
- 6
- 23
0
votes
1 answer
Apache Camel version 3.4 timeout not working as expected
I am using this Spring Boot Apache Camel version
org.apache.camel.springboot
camel-spring-boot-starter
3.4.0
Very simple…

Rahul Verma
- 1
- 2