Please help, config in MQSeries.
1) I defined TCF and T in JMSAdmin, created control queue and stream queue with MQ command. Now the broker queue are visible in MQ browser. How can I define Topics in MQ browser.
2) Please give some samples of using WebSphere as naming service provider. My JMS client program is a regular Java class, WebSphere's naming.jar has already been added into classpath. The following code doesn't work.
Hashtable env = new Hashtable();
env.put(Context.PROVIDER_URL, "iiop://localhost:9001");
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
InitialContext context = new InitialContext(env);