Posted: Tue Sep 22, 2009 10:55 am Post subject: Using JNDI to lookup Dynamically Created Queues
Newbie
Joined: 21 Sep 2009 Posts: 7
Hi I am running WebSphere with WMQ. How can I allow dynamically created queues (in MQ) to be looked up using the InitialContext? Is there a way to do this? Can someone point me to some resources? Thank you.
Posted: Tue Sep 22, 2009 9:20 pm Post subject: Re: Using JNDI to lookup Dynamically Created Queues
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
drab wrote:
Hi I am running WebSphere with WMQ. How can I allow dynamically created queues (in MQ) to be looked up using the InitialContext? Is there a way to do this? Can someone point me to some resources? Thank you.
Wrong question. The right question would be:
Why do you need JNDI lookup of dynamically created queues?
And alas what have you tried so far using the java.naming.* API?
You realize that with the right privileges you can add the dynamic queues on the fly to the InitialContext?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum