JMS 中可用的消息类型?

发布于 2024-09-01 04:48:37 字数 473 浏览 1 评论 0原文

这是基于过去的考试问题。

该问题要求描述使用 JMS 可用的四种消息类型。

问题是它说的是四个,而不仅仅是四个。所以它假设他们只有四个,不多也不少。

然而根据这个网站他们似乎是

  1. 流映射
  2. 文本
  3. 对象
  4. 字节
  5. *

另一本书指出 XML 是 JMS 未来版本中的另一种潜在类型。 XML 已经可用了吗?

我错过了什么还是问题本身就是错误的?

谢谢。

编辑:有 5 种类型

This is based on a past exam question.

The question is asking to describe the four types of message available using JMS.

The problem is it says the four, not just four. So it assumes their is only four, no more no less.

However according to this site their seems to be five;

  1. streams
  2. maps
  3. text
  4. objects
  5. bytes

*Another book states that XML is another potential type in future versions of JMS. Is XML already available?

Am I missing something or is the question just wrong?

Thanks.

EDIT: There are 5 types

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

扛起拖把扫天下 2024-09-08 04:48:37

Sun 的 JMS 规范 1.1 在第 3.1.1 节中列出了相同的五种消息类型。这个问题似乎是错误的。

Sun's JMS Spec 1.1 in Section 3.1.1 lists the same five message types. The question appears to be wrong.

世界和平 2024-09-08 04:48:37

如果要传递 XML,则使用字节。

If you are going to pass XML, you use bytes.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文