Is there any example of JMS implementaion with XA transactions with Solace

百般思念 提交于 2019-12-24 07:26:15

问题


I would like to find usefull example of JMS implementaion with XA transactions with Solace


回答1:


The Solace JMS API contains a XATransactions.java example in the samples directory that shows how you can make use of XA transactions in your application.

Note that the sample code is manually managing the XA transaction by calling the relevant XAResource methods such as XAResource.commit(). XA transactions are usually used within Java EE application servers that contain a transaction manager to manage the lifecycle of XA transactions.



来源:https://stackoverflow.com/questions/38656069/is-there-any-example-of-jms-implementaion-with-xa-transactions-with-solace

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!