Chapter 86. LRA
Since Camel 2.21
The LRA module provides bindings of the Saga EIP with any MicroProfile compatible LRA Coordinator.
86.1. Dependencies Copy linkLink copied to clipboard!
When using lra with Red Hat build of Camel Spring Boot make sure to use the following Maven dependency to have support for auto configuration:
<dependency> <groupId>org.apache.camel.springboot</groupId> <artifactId>camel-lra-starter</artifactId> </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-lra-starter</artifactId>
</dependency>
86.2. Spring Boot Auto-Configuration Copy linkLink copied to clipboard!
The component supports 5 options, which are listed below.
| Name | Description | Default | Type |
|---|---|---|---|
| camel.lra.coordinator-context-path | The context path of the LRA coordinator service. | String | |
| camel.lra.coordinator-url | The base URL of the LRA coordinator service (e.g. ). | String | |
| camel.lra.enabled | Global option to enable/disable component auto-configuration, default is true. | true | Boolean |
| camel.lra.local-participant-context-path | The context path of the local participant callback services. | String | |
| camel.lra.local-participant-url | The local URL where the coordinator should send callbacks to (e.g. ). | String |