Websphere Liberty:JMS会话不起作用 [英] Websphere Liberty : JMS Sessions don't work

查看:117
本文介绍了Websphere Liberty:JMS会话不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将EJB应用程序从Websphere 9.0迁移到Liberty。我正在使用应用程序服务器迁移实用程序来帮助我进行迁移。列出的问题之一是:

I am migrating EJB application from websphere 9.0 to Liberty. I am using the application server migration utility to help me with the migration. One of the listed issue is:


在Liberty中移植的本地事务JMS会话不起作用

Ported locally transacted JMS sessions do not work in Liberty

我检查了帮助中提到的详细信息,但是我从这些详细信息中无法理解。

I checked the details mentioned in the help, but I could not understand much from the details.

推荐答案

JMS会话通常可以在Liberty中工作。但是,交易 JMS会话将无法正常工作。因此,使用已移植到Liberty的事务处理JMS会话的应用程序将无法正常工作。

JMS sessions in general will work in Liberty. However, transacted JMS sessions won't work. Therefore, applications using transacted JMS sessions which are ported to Liberty will not work as expected.

事务处理JMS会话允许客户端收集不同的JMS操作(例如,发送和使用

A transacted JMS session allows a client to collect different JMS operations (e.g. sending and consuming messages) into a single unit of work that is committed or rolled back atomically.

需要明确的是,事务处理的JMS会话使用的有时称为本地事务,因为该事务仅适用于所涉及的特定JMS会话。这与全局事务(有时称为 JTA或 XA事务)相反,后者可能涉及许多不同种类的资源(例如JMS,JDBC等),并且其提交和回滚是跨原子的所有这些资源。

To be clear, a transacted JMS session uses what is sometimes called a "local" transaction because the transaction only applies to the specific JMS session involved. This is in contrast to a "global" transaction (sometimes called a "JTA" or "XA" transaction) which can involve many different kinds of resources (e.g. JMS, JDBC, etc.) and whose commit and roll-back is atomic across all those resources.

这篇关于Websphere Liberty:JMS会话不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆