A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
EJB and other Java EE Technologies
Associating MDB and destination
Joined: May 11, 2000
Sep 24, 2007 12:52:00
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.
[ September 24, 2007: Message edited by: Trader Joey ]
Joined: Sep 12, 2006
Oct 02, 2007 21:31:00
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
Joined: Oct 17, 2001
Oct 03, 2007 10:18:00
You may also use Annotations if you are using JEE5. If not, please follow Bhupesh's recommendation.
I agree. Here's the link:
subject: Associating MDB and destination
MDB and JMS
Observer-Pattern with EJB
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014