Spring-boot with JPA Repositories using JTA Transaction Manager using JBOSS 6

hibernatejbossjtaspringspring-boot

Currently i am working on a spring-boot application, which is using the JPA Repositories and HornetQ JMS. I want spring boot to use the JTA Transaction manager to manager the distributed transactions as default "transactionManager". We are currently using the @Annotation based configuration for spring. We have also enable @EnabledSpringAutoConfiguration for spring boot. Can you please help me with the configuration that will allow me to use Spring-Boot with the JTA Transaction Manger. Any help or pointer are welcome.

Best Answer

I created few JTA examples with Spring Boot. I didn't use JBoss, but they may help anyway as they use JDBC data store and JMS broker.

Some of the examples are failing intentionally, because they were created as examples for the book.