Questions tagged [spring-camel]

Spring wrapper over Apache Camel

more details here

586 questions
2
votes
1 answer

Boolean condition in camel route

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,…
agata
  • 481
  • 2
  • 9
  • 29
2
votes
1 answer

apache camel multithreading within route

I have these routes: @Override public void configure() throws Exception { String overviewRoute = this.routingProperties.getReportingRoute(OverviewtRouteConstants.OVERVIEW); this.from(overviewRoute).routeId(overviewRoute).threads(1,…
2
votes
0 answers

Camel route testing with mock endpoint

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,…
2
votes
1 answer

SpringBoot Camel ActiveMQ Embedded broker stopping and restarting unexpectedly

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…
greg
  • 306
  • 1
  • 13
2
votes
1 answer

Apache Camel timeout synchronous route

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…
Victor Tripeno
  • 144
  • 1
  • 2
  • 11
2
votes
1 answer

Camel Processor not setting headers

I am not able to inject/modify headers in a processor using the below spring DSL config. Could you please help in figuring out what I am doing wrong?
user15091766
  • 27
  • 1
  • 6
2
votes
1 answer

How to configure trustStore for camel-https4

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…
gstackoverflow
  • 36,709
  • 117
  • 359
  • 710
2
votes
2 answers

how to pass a + sign in camel exec uri

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.
linhem
  • 21
  • 1
2
votes
2 answers

How much time a SOAP call takes in Camel

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…
Nagy Vilmos
  • 1,878
  • 22
  • 46
1
vote
0 answers

Apache Camel Http Component - OutOfMemoryError

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…
Jawad Ahmad
  • 124
  • 1
  • 8
1
vote
0 answers

Caused by: java.lang.ClassNotFoundException: org.apache.camel.spi.ReloadStrategy

**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…
1
vote
0 answers

Print unmarshalled MIME request parts using Camel routes (XML)

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…
1
vote
1 answer

Apache Camel - Rest Endpoint - How to stop camel copying all request header in response

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 ....
mac
  • 543
  • 1
  • 6
  • 17
1
vote
0 answers

Apache camel route send data to wss websocket on stomp

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…
gladiator
  • 1,249
  • 8
  • 23
1
vote
0 answers

How to integrate Camel Spring boot with Kafka in Confluent Cloud?

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…