I have a websphere 6.0 running. I need to create and/or delete JMS Queues dynamically using a java class. I used AdminClient and added destinations in resources.xml as follows
2281" name="testQ" jndiName="queue/testQ" persistence="APPLICATION_D
I'm not able to do a lookup on this queue.
InitialContext ic = new InitialContext();
throws a NameNotFoundException.
I'm able to find entries for "testQ" in WebSphere JMS Provider screen in admin console.
How do i lookup this queue?
This link points to documentation
Documentation says as follows
"To make a queue destination available to applications, you need to host the queue on a JMS server. To add a new queue to a JMS server or to change an existing queue on a JMS server, you define the administrative name of the queue to the JMS server, as described in Managing WebSphere internal JMS servers."
But i'm not able to find JMSServer under Servers in Navigation pane.