Enum Class SourceTransactionalAction

java.lang.Object
java.lang.Enum<SourceTransactionalAction>
org.mule.runtime.extension.api.tx.SourceTransactionalAction
All Implemented Interfaces:
Serializable, Comparable<SourceTransactionalAction>, Constable

@MinMuleVersion("4.1") public enum SourceTransactionalAction extends Enum<SourceTransactionalAction>
The type of beginning actions that sources can take regarding transactions.
Since:
1.0
  • Enum Constant Details

    • ALWAYS_BEGIN

      public static final SourceTransactionalAction ALWAYS_BEGIN
      Will ensure that a new transaction is created for each invocation

      J2EE RequiresNew

    • NONE

      public static final SourceTransactionalAction NONE
      Whether there is a transaction available or not, ignore it

      J2EE: NotSupported

  • Method Details

    • values

      public static SourceTransactionalAction[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SourceTransactionalAction valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null