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 Constructor Description LraConfigurationProperties(MainConfigurationProperties parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()MainConfigurationPropertiesend()StringgetCoordinatorContextPath()StringgetCoordinatorUrl()StringgetLocalParticipantContextPath()StringgetLocalParticipantUrl()voidsetCoordinatorContextPath(String coordinatorContextPath)The context-path for the LRA coordinator.voidsetCoordinatorUrl(String coordinatorUrl)The URL for the LRA coordinator service that orchestrates the transactionsvoidsetLocalParticipantContextPath(String localParticipantContextPath)The context-path for the local participant.voidsetLocalParticipantUrl(String localParticipantUrl)The URL for the local participantLraConfigurationPropertieswithCoordinatorContextPath(String coordinatorContextPath)The context-path for the LRA coordinator.LraConfigurationPropertieswithCoordinatorUrl(String coordinatorUrl)The URL for the LRA coordinator service that orchestrates the transactionsLraConfigurationPropertieswithLocalParticipantContextPath(String localParticipantContextPath)The context-path for the local participant.LraConfigurationPropertieswithLocalParticipantUrl(String localParticipantUrl)The URL for the local participant
-
-
-
Constructor Detail
-
LraConfigurationProperties
public LraConfigurationProperties(MainConfigurationProperties parent)
-
-
Method Detail
-
end
public MainConfigurationProperties end()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
getCoordinatorUrl
public String getCoordinatorUrl()
-
setCoordinatorUrl
public void setCoordinatorUrl(String coordinatorUrl)
The URL for the LRA coordinator service that orchestrates the transactions
-
getCoordinatorContextPath
public String getCoordinatorContextPath()
-
setCoordinatorContextPath
public void setCoordinatorContextPath(String coordinatorContextPath)
The context-path for the LRA coordinator. Is default /lra-coordinator
-
getLocalParticipantUrl
public String getLocalParticipantUrl()
-
setLocalParticipantUrl
public void setLocalParticipantUrl(String localParticipantUrl)
The URL for the local participant
-
getLocalParticipantContextPath
public String getLocalParticipantContextPath()
-
setLocalParticipantContextPath
public void setLocalParticipantContextPath(String localParticipantContextPath)
The context-path for the local participant. Is default /lra-participant
-
withCoordinatorUrl
public LraConfigurationProperties withCoordinatorUrl(String coordinatorUrl)
The URL for the LRA coordinator service that orchestrates the transactions
-
withCoordinatorContextPath
public LraConfigurationProperties withCoordinatorContextPath(String coordinatorContextPath)
The context-path for the LRA coordinator.
-
withLocalParticipantUrl
public LraConfigurationProperties withLocalParticipantUrl(String localParticipantUrl)
The URL for the local participant
-
withLocalParticipantContextPath
public LraConfigurationProperties withLocalParticipantContextPath(String localParticipantContextPath)
The context-path for the local participant.
-
-