This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes How to get jndi-destination-name in Message Driven Bean ? 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 "How to get jndi-destination-name in Message Driven Bean ?" Watch "How to get jndi-destination-name in Message Driven Bean ?" New topic
Author

How to get jndi-destination-name in Message Driven Bean ?

Rajesh Menon
Greenhorn

Joined: Dec 06, 2000
Posts: 15
Hi,
I have a message -driven bean which has been deployed on Weblogic and configured to listen to a MQ queue.
I want to get the jndi-destination-name set in weblogic-ejb-jar.xml.
I'm able to get it from a. the Message received i.e the JMSDestination
b.from the env-entry if set in descriptor , ejb-jar.xml using a naming context lookup.
Is there any other way to get the destination name ?I want to retrieve the value in ejbCreate().Using the above 2nd option I'm able to get it in ejbCreate() but I feel there should be a better way.
Any suggestions?
Thanks & Regards...Rajesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get jndi-destination-name in Message Driven Bean ?
 
Similar Threads
Problem integrating Weblogic 8.1 with Sonic MQ 6.1
Mapping MDB JMS references to different queues using descriptors
I get message to queue, but not to MDB Bean. So close yet so far!
WebLogic 10 and EJB 3.0 for Message Driven Bean
message bean ACL