wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes Associating MDB and destination Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Associating MDB and destination" Watch "Associating MDB and destination" New topic
Author

Associating MDB and destination

Trader Joey
Ranch Hand

Joined: May 11, 2000
Posts: 33
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

Joined: Sep 12, 2006
Posts: 11
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

Joined: Oct 17, 2001
Posts: 153
Hi Trader,

You may also use Annotations if you are using JEE5. If not, please follow Bhupesh's recommendation.


Shailesh Kini.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Associating MDB and destination
 
Similar Threads
MDB Question
system exceptions
MDB and JMS
Observer-Pattern with EJB
Friends character