开发者

JBoss JMS provider

开发者 https://www.devze.com 2022-12-10 10:13 出处:网络
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

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 tutoria开发者_如何学运维l I can use ?


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).

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.

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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消