Is there a way to do smth like this to work? I am talking about the condition inside when.
.choice()
.when(Exchange::isFailed)
.to(direct(URI_DEADLETTER))
I tried:
.when(method(Exchange.class,…
I have these routes:
@Override
public void configure() throws Exception {
String overviewRoute = this.routingProperties.getReportingRoute(OverviewtRouteConstants.OVERVIEW);
this.from(overviewRoute).routeId(overviewRoute).threads(1,…
Camel route testing with Springboot, Activemq & mock endpoint
I've a Camel route which reads form activemq & passes to processor which does further processing & business logic.
I'm trying to test by producing & sending message by ProducerTemplate,…
I have an issue with my SpringBoot Camel App.
It works very nicely with non embedded broker. Here is its configuration:
THe URL is given as a String pointing either to standalone ActiveMQ serveur or embedded broker URL…
I was trwing to construct a synchronous route with timeout using Apache Camel, and I couldn't find anything in the framework with resolve it.
So I decided to build a process with make it for me.
public class TimeOutProcessor implements Processor…
I've declared my route like this(took idea from http://camel.apache.org/http4.html):
@Component
public class MyRouteDefinition extends RouteBuilder {
@Override
public void configure() throws Exception {
KeyStoreParameters ksp = new…
I'm using Camel with spring xml. When I try to call find through camel's exec-component there is certain problems to get the arguments right.
I want to call 'find /somepath/ -mtime +10'
My camel route have this to element.
Currently we're using Apache Camel (with Spring Boot) as an Integration platform. We have multiple backend systems to integrate. Mostly we use Apache CXF and CXF RS to call to those systems.
We'd like to log how much time we wait for the backend…
I am facing out of memory error on using the Apache camel Http component to download/stream a file from a public link to an external system (SharePoint). It seems the component internally is reading all of the files into memory at once. Can we do…
**I am migrating from 2.x.x Apache Camel to 3.2.0 Apache Camel version which is integrated with Spring, but while running the code i am getting the following error
**
2023-08-01 11:32:17.631 [ERROR] [SpringApplication.java -821] - Application run…
I am working with Camel Routes (XML) to process a MIME request that contains attachments. I have successfully unmarshalled the request using . However, when I log the body of the unmarshalled request, it only shows the content of the first…
Is there any global setting or something available to stop camel copying all request header in the response.
The endpoint looks like something similar to ....
I have create wss socket using springboot and it works fine I have tested using online tool as well as springboot client.
the socket is open at endpoint wss://spring-ou5b.onrender.com/web-socket-endpoint and received message on /app/message
Now I am…
I have an application which uses camel Spring Boot with debeezium to listen to a mysql database and to publish in a Kafka topic.
It was all working fine since I changed the kafka from local to use confluent cloud. I have some other applications…