from("seda:start)
.multicast(new GroupedBodyAggregationStrategy())
.parallelProcessing()
.to("seda:process1", "seda:process2")
.end()
.to("seda:join");
The plan is for process1 and process2 to run in parallel and for its output…
I'm trying to send message from rest API to new route, and even thou I receive request in JSON format on my REST API and binding is set to JSON, when I forward it to new route it will be shown as InputStream and I will have to marshal it to JSON in…
In Apache Camel, I have configured the timer component to fire the job for every 15 mins. Suppose if any job which is taken more than 15 mins due to data load to complete it task, will it be affected by the next job since we have configured to run…
I want to make a route that will be triggered from client request.
For example I have a route http://localhost:8080/get where I have some json object.
I want to create a route when I send a request to http://localhost:8080/get to send the data to…
I have camel rest endpoint with two params and when I send request it activates first route ("direct:amq"), where I get message from activeMq.
The headers here are okay, but this route activates another route ("direct:post)" and the headers there…
I want to create camel route in Spring Boot (2.1.1) project to get the data from some (rest) endpoint (http://localhost:8080/getAllUsers) and to send that data to activeMq.
I have tried with timer data to send it on activeMq and to consume it and it…
I face an exception and see the following getting logged when using the org.apache.activemq.pool.PooledConnectionFactory for producing messages to an AMQ Queue -
Caused by: java.lang.IllegalStateException: The session has already been closed
at…
I'm working with Apache Camel Bindy, the version of Camel is 2.18.1. I have a text file, from where I'm reading the content. I read line by line and convert values using this class:
@FixedLengthRecord(length = 60, ignoreTrailingChars = true)
public…
How transacted() in camel DSL is related to transacted="true" of JMSComponent.
Will that make any sense, if transacted property of JMSComponent is set to "true" along with transacted() in camel DSL ?
I have a Camel route that reads a file from S3 and the processes the input file as follows:
Parse each row into a POJO (Student) using Bindy
Split the output by body()
Aggregate by an attribute of the the body (.semester) and a batch size of…
Anyone could englighten me which org.apache.camel version I should use with the Spring boot version 2.0.0 .RELEASE.
When I used newer versions of apache.camel such like 2.21.0 , I come across with RelaxedPropertyResolved error. I read the forums and…
I need to add signature to a file using apache camel. when i checked in camel documentation, found crypto:sign component where it creates the signature and stores it in the Header keyed by the constant…
I am using camelServlet, camel kafka in a spring boot app, I am getting this error which I am not able to understand
when I try to call a get endpoint which is configured as REST DSL route I am getting the below error…
I need to validate incoming request to the camel rest service based on some schema. for example.
In request as given below
{
"routeId" : "fileBatchRoute",
"action" : "start",
"sourceLocation" : "sourceDirectory",
"destinationLocation" :…