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 Details

  • Method Details

    • end

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
      To enable Saga LRA
    • 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
    • withEnabled

      public LraConfigurationProperties withEnabled(boolean enabled)
      To enable Saga LRA
    • 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.