• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Associating MDB and destination

 
Trader Joey
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I associate a message driven bean and the destination (queue / topic) so that messages arriving on the destination are processed by that MDB.

Your help is highly appreciated.

Thanks

Joey
[ September 24, 2007: Message edited by: Trader Joey ]
 
bhupesh ravish
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey you are supposed to give the the type of destination in your ejb-jar.xml file and actual name in the application server specific file. i:e: jboss.xml or any which you are using
 
Shailesh Kini
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Trader,

You may also use Annotations if you are using JEE5. If not, please follow Bhupesh's recommendation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic