we are developing an application with following characteristics:
- standalone spring 3.1.0.RELEASE application
- JPA with Hibernate 3.6.7.Final
- AMQP (RabbitMQ as Server, Spring AMQP as Client)
- SQL Server 2008 with jTDS driver
We need to synchronize transactions between RabbitMQ and SQL Server, so we are trying to setup XA with atomikos. The problem is that we can´t find a single spring sample configuration file for that situation that actually works. We tried so many combinations using samples from Spring documentation, google, forums, etc. Something is allways missing.
Could someone, please, provide us a such file so we can use it as a starting template for our configuration.
P.S. Do we really need XA?
Thanks.