Link to home
Start Free TrialLog in
Avatar of rnayeneni
rnayeneni

asked on

How to find Provider URL for websphere

Hi Experts,

I am wrinting a standalone jms program to talk to websphere default messaging provider,
In the below code

 tbl.put("java.naming.factory.initial", "com.ibm.websphere.naming.WsnInitialContextFactory");
        tbl.put("java.naming.provider.url", namingURL);
        Context ctx = new InitialContext(tbl);
        System.out.println(" Initial Context Created ");
        myConnFactory = (QueueConnectionFactory)ctx.lookup(connectionFactoryName);

I am confused about namingURL, can you please help me on how to get namingURL for my websphere server.

thanks
ASKER CERTIFIED SOLUTION
Avatar of dhruvpratap
dhruvpratap

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial