Interface ITxLogStepsProvider

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Contract for Camel procedures which provide their own constructed list of transaction log steps
  • Method Details

    • provideTxLogSteps

      List<TransactionLogStepJson> provideTxLogSteps(org.apache.camel.Exchange theExchange)
      Calls function which returns a list of transaction log steps from the passed Exchange
      Parameters:
      theExchange - the camel Exchange
      Returns:
      list of TransactionLogStepJson the steps built
    • ofStep

      Convenience method to provide the step which the returned provider will return in a list
      Parameters:
      theStep - the TransactionLogStepJson which will be returned in a list from the returned ITransactionLogStepsProvider
      Returns:
      a ITransactionLogStepsProvider which will return a singleton list with the received step
    • ofSteps

      Convenience method to provide the steps which the returned provider will return
      Parameters:
      theSteps - the list of TransactionLogStepJson which will be returned in a list from the returned ITransactionLogStepsProvider
      Returns:
      a ITransactionLogStepsProvider which will return the received list of steps