[jboss-user] [Messaging, JMS & JBossMQ] - JMS Queue NamingException
crisandp
do-not-reply at jboss.com
Tue Dec 12 09:58:54 EST 2006
Hi,
I am trying to test some JMS connection failure using the JMX console by starting and stopping a queue.
The code to get a javax.jms.Queue object is :
Context ctx = new InitialContext();
destQueue = (Queue) ctx.lookup(queue);
After stopping and restarting the queue, the code above throws a NamingException.
Any help would be greatly appreciated.
Thanks in advance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993093#3993093
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993093
More information about the jboss-user
mailing list