Sep 4th, 2011, 09:53 AM
Best efforts 1 PC pattern with SI AMQP support available?
what is the recommended way to implement a best efforts 1 PC pattern with SI AMQP and a JDBC datasource?
David Syer has described this pattern in the following link: http://www.javaworld.com/javaworld/j...ns.html?page=5
The recommended way for JMS and a database is to use the JMS TransactionAwareConnectionFactoryProxy which will synchronize with the DataSourceTransactionManager.
Because the Spring RabbitMQ support tries to mirror the JMS support I've searched for a AMQP TransactionAwareConnectionFactoryProxy but I do not have found one!?
There is the AMQP RabbitTransactionManager which implements a "local" transaction on it's own but this does not solve our problem with DB transaction synchronization!
Any info if there is some hidden support elsewhere or a workaround / different strategy would be helpful.
Thanks and greetings.