Category "apache-camel"

Run one Apache Camel route at a time

My product has an ingestion service written using Java which runs Apache Camel routes. There are multiple ingestion service instances running on different VMs.

How to count duplicated messages of Idempotent Consumer with a metric?

I have an Apache Camel application with an Idempotent Consumer. I need a metric with the total number of duplicated messages. How could I implement such a metri

Convert Oracle BPEL forEach to Apache Camel

In a migration from Oracle BPEL to Apache Camel, which particular considerations should I have for migrating forEach (Oracle) to loop (Camel)? this one is the B

How to stop camel doWhile loop

We have a independent bundle creating factory parts based on a few header variables [direct-vm:createPartService]. My application needs loop through a list of

Camel file component throughput when readLock=changed

I'm using Apache Camel to transfer files from an input directory to a messagebroker. The files are written via SFTP. To avoid consuming incomplete files that ar

No consumers available on endpoint: Endpoint[direct://LookUpRoute]

I'm new to Apache Camel. I'm trying to send an exchange from a java method to a route but it gives me "Caused by: org.apache.camel.component.direct.DirectConsum

No consumers available on endpoint: Endpoint[direct://LookUpRoute]

I'm new to Apache Camel. I'm trying to send an exchange from a java method to a route but it gives me "Caused by: org.apache.camel.component.direct.DirectConsum

Apache Camel: using compound conditions in when()

I am using Apache Camel DSL route and want to check if the body is not null and body does not contains substring like authenticate failed. In java something lik

Apache Camel Split by start and end characters SOH and ETX

I have an spring boot application which have routes.xml being loaded on startup On the routes.xml, i have a MQ queue source that contains sample message SOH{123

Apache Camel: MethodNotFoundException, Failed to invoke method on null due to: MethodNotFoundException

I try following a video tutorial for Apache Camel education and trying aggregate queue objects in a next way: @Component public class AggregationRoute extends R

Apache camel route is not identified

I have a spring boot application to which I am adding a camel route. The class where the route is defined extends FatJarRouter and is annotated with @Component.

Can't use onCompletion route scope with transacted routes

I didn't manage to customize transacted route with rollback/commit post-processing. Any help on how to write this kind of transacted route will be really appre

Apache camel setHeader in spring xml dsl

I just have assigned to apache camel project in the company where I work. The project is with spring xml dsl. I'm curious about strange behaviour of the attribu

How to browse messages from a queue using Apache Camel?

I need to browse messages from an active mq using Camel route without consuming the messages. The messages in the JMS queue are to be read(only browsed and not

Why Camel SCR deprecated?

I was looking into Camel-Scr and in pom.xml i saw <artifactId>camel-scr</artifactId> <name>Camel :: SCR (deprecated)</name> <desc

Clean way extract path parameters from Camel HTTP endpoints

Ideally I would like to have a route like this: from("jetty:http://0.0.0.0:8080/{pathParam1}/{pathParam2) So that a consumer would then be able to access the

How to convert json to java object during camel routing

I am using camel and sending json string via activemq and want to persist the received object in database using ibatis. I would like to know how to convert json

How to retrieve a exchange property in the camel route XML?

I have to run a loop in the route. my route looks as <camel:loop> <camel:constant>${property.x}</camel:constant> </camel:loop>

Error running Apache Camel

I'm going through the tutorial here: Apache Camel Report Incident Part 5 I've copied and pasted the code in the tutorial but am getting this error when I type

how to repeat a task maximum five times using apache camel

I want to repeat a task (calling external API) till either of following condition is satisfied. Response code is success(200) Tried 5 times. For repeating a ta