Questions tagged [camel-saga]

Camel component for the Saga EIP

The Saga component provides a bridge to execute custom actions within a route using the Saga EIP.

6 questions
0
votes
0 answers

How disable .compensation in the in the previous call camel-router

If the application crashes in secondeRoute, then compensationFirstRoute is automatically fired, but I need only compensationSecondRoute to fire, how can I fix this from("direct:mainRoute") .saga() .propagation(SagaPropagation.MANDATORY) …
Pelm
  • 1
  • 1
0
votes
1 answer

Apache Camel Saga configuration using LRA Coordinator

Could someone help me understand how to configure Apache Camel Saga using LRA coordinator in Springboot. I tried through the documentation but unfortunately, the documentation is not that clear and I would need at least some sample code to…
Tarun
  • 20
  • 2
0
votes
0 answers

using reactive-streams with Apache Camel Saga

I would like to know if it is possible to use reactive streams in Apache Camel. I know reactive-streams is a component from Apache but I couldn't get it to work the way they explain in the documentation. I would like to know if there is any possible…
0
votes
0 answers

Camel SAGA: compensating actions do not receive the right body passed through the option

I'm trying the Camel SAGA-LRA component and I have two doubts about how to pass data from main actions to compensating actions, bu using the SAGA OPTION mechanism. What I would do is reuse an ID returned by the first SAGA main action, to eventually…
0
votes
1 answer

Camel and LRA Saga: when the compensation action is executed?

I would use the Camel SAGA component available at https://camel.apache.org/components/3.20.x/eips/saga-eip.html I can easily understand that a "compensation action" is executed when the respective SAGA action fails, but it's not clear what is the…
0
votes
0 answers

Can you configure Camel Saga compensation retries?

Given this saga definition: from("direct:bookTrip") .saga( .setHeader("id", header(Exchange.TIMER_COUNTER)) .setHeader(Exchange.HTTP_METHOD, constant("POST")) .log("Executing saga #${header.id}") …
codependent
  • 23,193
  • 31
  • 166
  • 308