How to add a custom MDCUnitOfWork in CamelContext in Camel 3.4.2. Earlier I could add using camelContext.setUnitOfWorkFactory(..) but now, I'm not seeing that method. Thanks.
I want to save information being processed to a level DB, right now what I have is
from(sourceUri)
.transacted()
.unmarshal().json(JsonLibrary.Jackson, HashMap::class.java)
…
We need to use a third party scheduler with Camel Spring Boot. We can build the Spring Boot Jar and give the command to the external scheduler to invoke:
java -jar app-name.jar
The issue is that, we will never know when to return the control back to…
I use camel 3.3.0 with spring boot 2.3.1.
Considering documentation camel mbeans management objects for camel routes should be appeared by default, but it doesn't happen.
I have tried to add to application.properties all properties with jmx, but it…
I have following route
onException(Throwable.class)
.handled(true)
.process(...) --- (A1) Have a shutdown code here.
.rollback();
from("file:D/data/input?fileName=in.txt")
.transacted("required") ---…
I try to push data processed in an Apache Camel processor to a listener class. In the processor class instance I try to register the listener during instantiation of the Camel context, which somehow fails. Maybe I am fundamentally wrong here and…
I'm trying to process a file using Apache Camel, and after processing move it to a specific folder, while keeping the filename and directory structure.
What I have in a application.yml file:
camel-from:…
I have two route A and B as below
from("some endpoint") //route A
.to("direct:x")
from("direct:x") //route B
.doTry()
.bean("somebean") //set Custom object PQR as message body
.doCatch()
.bean("some other bean") //log…
I have been trying to migrate from Camel 2.x to 3.x and having some issues with Spring Boot integration.
With Camel 2.x, i managed to disable auto injection of RouteBuilder instances annotated with @Component but have the other benefits,…
I have two query :
1. Can we have non blocking async routes in camel. I do see async with seda but then if offloads work to other thread that blocks.
2. If so can we use multicast in such routes.
Following is my multistep camel route which seems…
I am very new to Apache camel, I have a situation where I need to perform below action
Whenever I receive specific type of Exception, I need to retry the complete route again,
But I am facing problem of circular-error handling exception and infinite…
I have a camel route set up in the following way:
List routes = getRouteInfo(); //I crete the routes using the info in the list.
for ( SomeRouteInfo info : routes ){
RouteDefinition routeDef = from(info.from());
routeDef
…