Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MDB question

 
Jane Somerfield
Ranch Hand
Posts: 193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can MDB send message to JMS, just like other
JMS client?
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure... there is nothing stopping an MDB from sending JMS Messages.
 
Naidu Jitta
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello Jane,
Actaully MDB is a listner, so u can send a message when ever u recieve a message. Until and unless u won't recieve any messages it si not possible to do the same
J. P. Naidu
 
John King
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The purpose of MDB is to consume message.
But like any other typies of EJBs, it can
send message to JMS server too.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic