• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it possible to Make Servlet act as JMS Message listener?

 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to Make Servlet act as JMS Message listener?
If yes then how?
If no then why?

Please reply.
Thankyou
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Azrael Noor wrote:Is it possible to Make Servlet act as JMS Message listener?


Why do you want a servlet to listen to some JMS message instead of services requests? I mean why do you want it to be a servlet as well as a message listener?

 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) I do not want Multiple MDB's.
2) Using @Resource i could mapped multiple connections and Destinations inside servlet and use it for ma work.
3) i have to show output in form of web application.

Question again is it possible or not? if yes then how

thank you

 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Servlet can listen it. but it will not behave same as MDB and behavior randomly changes,
have to deploy more then one and so on so not good approach

Thank you
topic Closed
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic