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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()end()booleanvoidsetCoordinatorContextPath(String coordinatorContextPath) The context-path for the LRA coordinator.voidsetCoordinatorUrl(String coordinatorUrl) The URL for the LRA coordinator service that orchestrates the transactionsvoidsetEnabled(boolean enabled) To enable Saga LRAvoidsetLocalParticipantContextPath(String localParticipantContextPath) The context-path for the local participant.voidsetLocalParticipantUrl(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:
closein interfaceAutoCloseable- Specified by:
closein 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.
-