aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes help need on JMS - webspher MQ in JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "help need on JMS - webspher MQ in JBoss " Watch "help need on JMS - webspher MQ in JBoss " New topic
Author

help need on JMS - webspher MQ in JBoss

Ramesh Arekatla
Greenhorn

Joined: Aug 18, 2005
Posts: 1
we are going to use web sphere MQ as MOM and JMS to subscribe msgs from which are in MQ Queue.
we are planning to use JBoss as Application Server

what I need is how to subscribe msgs from MQ Queue.
I've code for subscribing msgs from JMS queue

can I use the same code for MQ Queue.

Thanks in advance
Ramesh
Naveen Sampra
Ranch Hand

Joined: Jun 11, 2003
Posts: 70
Create a MDB(Message Driven Bean) and configure it to listen to the MQ port. The onMessage() method of MDB will be called by container when a message arrives.
Do your processing in the onMessage() method of MDB.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help need on JMS - webspher MQ in JBoss