Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help need on JMS - webspher MQ in JBoss

 
Ramesh Arekatla
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic