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 void
close()
MainConfigurationProperties
end()
String
getCoordinatorContextPath()
String
getCoordinatorUrl()
String
getLocalParticipantContextPath()
String
getLocalParticipantUrl()
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
setLocalParticipantContextPath(String localParticipantContextPath)
The context-path for the local participant.void
setLocalParticipantUrl(String localParticipantUrl)
The URL for the local participantLraConfigurationProperties
withCoordinatorContextPath(String coordinatorContextPath)
The context-path for the LRA coordinator.LraConfigurationProperties
withCoordinatorUrl(String coordinatorUrl)
The URL for the LRA coordinator service that orchestrates the transactionsLraConfigurationProperties
withLocalParticipantContextPath(String localParticipantContextPath)
The context-path for the local participant.LraConfigurationProperties
withLocalParticipantUrl(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:
close
in interfaceAutoCloseable
- Specified by:
close
in 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.
-
-