JBoss JMS提供程序 [英] JBoss JMS provider

查看:149
本文介绍了JBoss JMS提供程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要编写一个Message Driven Bean。我正在使用JBoss IDE 1.5。我理解MDB背后的概念,但我真的不知道如何安装JMS提供程序(JBoss MQ?我认为)并使用它以便它将用于将我的消息代理到MDB。

I need to write a Message Driven Bean. I'm using JBoss IDE 1.5. I understand the concept behind MDB's but I don't really know how to install the JMS provider (JBoss MQ? I think) and use it so that it will be used to broker my message to an MDB.

有没有人知道我可以使用的教程?

does anyone know of a tutorial I can use ?

推荐答案

JBossMQ 是JBoss 3.2.x和4.x中的默认JMS提供程序,但由 JBoss Messaging 1 在JBoss AS 5.0中(JBoss Messaging 1.x是JBoss中的默认JMS提供程序) AS版本5)。

JBossMQ is the default JMS provider in JBoss 3.2.x and 4.x but is replaced by JBoss Messaging1 in JBoss AS 5.0 (JBoss Messaging 1.x is the default JMS provider in JBoss AS version 5).

根据您使用的JBoss版本,您已经拥有JMS提供程序,因此我不确定您要安装什么。对于配置部分(例如,如何创建可以向其发送消息的队列/主题),您必须提供一些XML文件。

Depending on the version of JBoss you are using, you already have a JMS provider so I'm not sure what you want to install. And for the configuration part (e.g. how to create a Queue/Topic to which you could send messages), you have to provide some XML files.

  • Check the Configuration section of http://www.jboss.org/community/wiki/jbossmq and especially the Destinations page for JBossMQ. This blog post might help too.
  • Check the chapter 6.6 Configuring Destinations of the Jboss Messaging 1.4 user guide. This blog post might help.

请注意,从JBoss AS版本5.1.0开始,有一个管理控制台允许创建 JMS目标(展开树视图中的JMS目的地条目,单击队列或主题,然后在右侧面板中单击添加新资源按钮)和/或连接工厂

Note that starting with JBoss AS version 5.1.0, there is an admin console that allows to create JMS Destinations (expand the "JMS Destinations" entry in the tree view, click on either Queues or Topics, and the in the right panel click the "Add a new resource" button) and/or Connection Factories.

1 从版本2.0开始,JBoss Messaging已重新命名为 HornetQ

1Starting from version 2.0, JBoss Messaging has been rebranded to HornetQ.

这篇关于JBoss JMS提供程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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