使用JTA事务管理器使用JBOSS 6

时间:2016-03-21 11:04:56

标签: spring hibernate jboss spring-boot jta

目前我正在开发一个使用JPA Repositories和HornetQ JMS的spring-boot应用程序。我希望spring boot使用JTA事务管理器来管理分布式事务作为默认值" transactionManager"。我们目前正在使用基于@Annotation的配置进行spring。我们还启用了@EnabledSpringAutoConfiguration以进行弹簧启动。能帮我配置一下这个配置,让我可以使用Spring-Boot和JTA Transaction Manger。欢迎任何帮助或指针。

1 个答案:

答案 0 :(得分:0)

I created few JTA examples with Spring Boot。我没有使用JBoss,但是当他们使用JDBC数据存储和JMS代理时,他们可能会有所帮助。

有些示例故意失败,因为它们是作为本书的示例而创建的。