Element Detail

transactionManager

This attribute is not required and only needs to be declared if there
are multiple beans of type PlatformTransactionManager in the test's
ApplicationContextand if one of the following is true.

the bean name of the desired PlatformTransactionManager is not
"transactionManager"

TransactionManagementConfigurer was not implemented to specify which
PlatformTransactionManager bean should be used for annotation-driven
transaction management

NOTE: The XML <tx:annotation-driven> element also refers
to a bean named "transactionManager" by default. If you are using both
features in combination, make sure to point to the same transaction manager
bean - here in @TransactionConfiguration and also in
<tx:annotation-driven transaction-manager="...">.