In one of my use case i need to split the inbound json message into multiple message based on the array list that is available in the message.
for example, in the below message split to be taken place based "actualData" array list.
{
…
How to include/exclude exceptions from profiling while implementing circuit breaker pattern using resilience4J library in camel route(spring-boot application).
we are using the following official library but it doesn't expose any API to include…
I am trying to create a camel component which consumes an API from an external service.
My Route is as follows
from("myComponent:entity?from=&to=")
.to("seda:one")
from("seda:one")
.aggregate(constant(true), new…
I am using Camel with Spring Boot and Micrometer. In one of my routes I am using a circuitbreaker with Resilience4j:
.circuitBreaker()
.resilience4jConfiguration()
.timeoutEnabled(true)
.timeoutDuration(2000)
…
I've a simple camel route and want to test it, but instead of the MockEndpoint the real Endpoint is called:
import org.apache.camel.builder.RouteBuilder;
import org.springframework.stereotype.Component;
import lombok.extern.slf4j.Slf4j;
…
We are using camel for rabbitmq producers and consumers.
We create consumers with autoAck as false and we feel currently camel manages it internally to acknowledge that message after the consumer route`s processor is completed.
What we want is a…
I created an application to read messages from Apache qpid and to send them on Apache kafka. I am using Camel with Springboot starter. My Pom looks like this -
…
I am trying to implement a Camel Spring Boot application that is using FileComponent to poll on a directory. I also want to support clustering meaning multiple instances of this Camel-spring boot application could be started and consume from the…
Getting this error when loading rest definitions via "xml-rests" to Camel Spring Boot 3.2 with the XML path defined in the property camel.springboot.xml-rests = classpath:folder-camel/folder-rest/*.xml
My rest definition file looks as…
I am new to Camel (on Spring Boot) and implementing REST API using "netty-http" component.
For Basic auth on a service, I know that we can validate the headers in a .process method in the route, but I am not sure if that is a best practice.
I wanted…
I’m trying to add some new functionality to Camel - essentially a custom processor which takes several parameters and performs certain data manipulation, as well as the global configuration for all processors of this type within a given camel…
I have the following Apache Camel Spring XML configuration which process a file (input). I try to rename the file before it is copied (move option).
I'd like the name of a file to contain a string which is the result of a method call from a bean…
This JSON object below needs to be checked if a key exists or not. If key exists and value is empty then I want set TH as default language.
How to do that in camel route?
{ "languagePreference":"" }
//set default value of language preference as…
We are using the Camel BigQuery API (version 2.20) to stream records from a message queue on an ActiveMQ server (version 5.14.3) into a Google BigQuery table.
We have implemented and deployed the streaming mechanism as an XML route definition in a…