I am using Camel 2.19.2 in a Spring Boot 1.5.8 application. If I want, for example, to have several of my routes to be "status aware", how might I achieve this? What I mean by "status aware" is that the route will start, notify a component that…
I found several examples of Apache Camel Bindy unmarshalling CSV records into POJOs using field position:
@CsvRecord(separator = ",")
public class Person {
@DataField(pos = 1)
private String name;
@DataField(pos = 2)
private String…
I'm learning about Apache Camel routes in Spring Boot projects and I have a project that does extension from some endpoints. The endpoints are not in this project, only the extension is done here. The extension is done using @Consume from…
Working with SpringBoot, Java 11.
In application.properties i want to configure: camel.component.rabbitmq.args
Documentation by camel using rabbitmq: https://camel.apache.org/components/3.18.x/rabbitmq-component.html#_message_body
Note: I'm not…
I have a spring boot project with apache camel (Using maven dependencies: camel-spring-boot-starter, camel-jpa-starter, camel-endpointdsl).
There are the following 3 entities:
@Entity
@Table(name = RawDataDelivery.TABLE_NAME)
@BatchSize(size =…
I am reading a file from a directory, and trying to call an API based on the data in the file.
While trying to handle the exceptions, I am facing an issue. I am trying to configure the onException block to redeliver 3 times, with a delay of 5…
Issue:
I would need to change the basic /camel url which camel uses by default, but when i try to change it in application.yml nothing happens to it.
Would like to keep other systems intact without changing their urls, from what they already have…
I have upgraded the camel version to latest and found that xsd is missing in the jar file. The xsd file is available in camel-spring-3.8.0.jar. Due to this am getting exception in spring camel application.
Is this a bug?
I am migrating our project from Camel 2.24.1 to 3.6.0. In the code we use BeanInvocation, where we mention the method that was being called in the bean and other classes inside the method.
The org.apache.camel.component.bean.BeanInvocation is…
I am completely new to Camel, I have created two simple REST end points(using Camel 3.8.0 and SpringBoot 2.4.3), one GET and one POST, like this -
@Component
public class CamelController extends RouteBuilder {
@Override
public void…
Univocity parser supports reading data into bean when it is written in plain java - https://www.univocity.com/pages/univocity_parsers_tutorial#using-annotations-to-map-your-java-beans
But when univocity is used with camel, it only unmarshals the…
I have successfully created few routes overriding configure() method of RouteBuilder. A for loop is used to generate routes on application startup, for eg:
Route1: from("direct:Route1").to("netty-http:http://localhost:8080/route1)
Route2:…
from("direct:query")
.setHeader("sObjectQuery", simple("SELECT name FROM account"))
.to("salesforce:query?sObjectQuery=&sObjectClass=" + QueryRecordsAccount.class.getName()).to("log:?level=DEBUG&showBody=true");
…