It's not a secret anymore!*
The moose likes EJB and other Java EE Technologies and the fly likes MDB deployment descriptor settings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "MDB deployment descriptor settings" Watch "MDB deployment descriptor settings" New topic

MDB deployment descriptor settings

manish ahuja
Ranch Hand

Joined: Oct 23, 2003
Posts: 312
Hi All
I am new to MDB.forgive me if this looks like a stupid question. Recently was trying out a few sample code on MDB.
Say if i have 3 queues & i want to create 3 separate mdb's for these queues
say if I want MDB1 to listen to Queue1, MDB2 to listen to Queue2
& MDB3 to listen to Queue3
The deployment descriptor setting is something like this

This description looks pretty vague , how to map MDB1 mapped to the corresponding Queue1 , say MDB2 to Queue2 & MDB3 to Queue3.
how do i set this in the deployment descriptor
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
This is done using the vendor-specific deployment descriptor. For WebLogic, here's the relevant documentation.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
jQuery in Action, 2nd edition
subject: MDB deployment descriptor settings
Similar Threads
Mapping MDB JMS references to different queues using descriptors
how to configure multiple MDB in DD
Doubts on MDB's
JMS on MQSeries via MDBs
How to form a MDB with the topic?