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
posted 10 years ago
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.