• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic