Package org.apache.camel.main
Class LraConfigurationProperties
java.lang.Object
org.apache.camel.main.LraConfigurationProperties
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.camel.spi.BootstrapCloseable
@Configurer(bootstrap=true)
public class LraConfigurationProperties
extends Object
implements org.apache.camel.spi.BootstrapCloseable
Global configuration for Saga LRA
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
end()
boolean
void
setCoordinatorContextPath
(String coordinatorContextPath) The context-path for the LRA coordinator.void
setCoordinatorUrl
(String coordinatorUrl) The URL for the LRA coordinator service that orchestrates the transactionsvoid
setEnabled
(boolean enabled) To enable Saga LRAvoid
setLocalParticipantContextPath
(String localParticipantContextPath) The context-path for the local participant.void
setLocalParticipantUrl
(String localParticipantUrl) The URL for the local participantwithCoordinatorContextPath
(String coordinatorContextPath) The context-path for the LRA coordinator.withCoordinatorUrl
(String coordinatorUrl) The URL for the LRA coordinator service that orchestrates the transactionswithEnabled
(boolean enabled) To enable Saga LRAwithLocalParticipantContextPath
(String localParticipantContextPath) The context-path for the local participant.withLocalParticipantUrl
(String localParticipantUrl) The URL for the local participant
-
Constructor Details
-
LraConfigurationProperties
-
-
Method Details
-
end
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) To enable Saga LRA -
getCoordinatorUrl
-
setCoordinatorUrl
The URL for the LRA coordinator service that orchestrates the transactions -
getCoordinatorContextPath
-
setCoordinatorContextPath
The context-path for the LRA coordinator. Is default /lra-coordinator -
getLocalParticipantUrl
-
setLocalParticipantUrl
The URL for the local participant -
getLocalParticipantContextPath
-
setLocalParticipantContextPath
The context-path for the local participant. Is default /lra-participant -
withCoordinatorUrl
The URL for the LRA coordinator service that orchestrates the transactions -
withEnabled
To enable Saga LRA -
withCoordinatorContextPath
The context-path for the LRA coordinator. -
withLocalParticipantUrl
The URL for the local participant -
withLocalParticipantContextPath
public LraConfigurationProperties withLocalParticipantContextPath(String localParticipantContextPath) The context-path for the local participant.
-