Class TransactionInterceptorBuilder

java.lang.Object
org.springframework.integration.transaction.TransactionInterceptorBuilder

public class TransactionInterceptorBuilder extends Object
Provides a fluent API to build a transaction interceptor. See TransactionAttribute for property meanings; if a TransactionAttribute is provided, the individual properties are ignored. If a TransactionManager is not provided, a single instance of TransactionManager will be discovered at runtime; if you have more than one transaction manager, you must inject the one you want to use here.

When the handleMessageAdvice option is in use, this builder produces TransactionHandleMessageAdvice instance.

Since:
5.0
Author:
Gary Russell, Artem Bilan