This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jndi properties for looking up generic messaging provider in websphere.

 
Tirthankar Dutta Chaudhuri
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i need to send a message to a queue in generic jms provider in websphere ,
But i not getting the jndi lookup . what will be the provider url .
I have both the application server installed in my local host.
Thanks ,
Tirthankar
 
Karthika Kannan
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

This is what i used and it worked within an MDB.It doesnt work when its used from a client.

hashtable.put(Context.INITIAL_CONTEXT_FACTORY,"com.ibm.websphere.naming.WsnInitialContextFactory");
hashtable.put(Context.PROVIDER_URL,"iiop://localhost:2809");
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic