Annotation Interface TransactionalEvent


@Target(TYPE) @Retention(RUNTIME) public @interface TransactionalEvent
Marks an event container configured using annotations (Polling or Notify as transactional.
Author:
kimchy
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    org.springframework.transaction.annotation.Isolation
    The transaction isolation level.
    org.springframework.transaction.annotation.Propagation
    The transaction propagation type.
    int
    The timeout for this transaction (in seconds).
    A reference to the actual transaction manager.
  • Element Details

    • propagation

      org.springframework.transaction.annotation.Propagation propagation
      The transaction propagation type.

      Defaults to Propagation.REQUIRED.

      Default:
      REQUIRED
    • isolation

      org.springframework.transaction.annotation.Isolation isolation
      The transaction isolation level.

      Defaults to Isolation.DEFAULT.

      Default:
      DEFAULT
    • timeout

      int timeout
      The timeout for this transaction (in seconds).

      Defaults to the default timeout of the underlying transaction system.

      Default:
      -1
    • transactionManager

      String transactionManager
      A reference to the actual transaction manager. Only needed if there is more than one transaction manager in the context. If there is only one, will use it by default.
      Default:
      ""