I am having a problem with the following code:

 cli = new CLI(conn);
 cli.executeCommand("sr router1");
 cli.executeCommand("cc /sys$queuemanager/queues");
 String[] allQueueNames = cli.getContextEntities();

I get an error saying that router1 is not found.
However, if I walk through the code in a  debugger
(slowly) or place a Thread.sleep() in between
statements in the code, it works fine.

Any ideas ?

//Nicholas

=====
Nicholas Whitehead
Home: (973) 377 9335
Cell: (973) 615 9646
[EMAIL PROTECTED]

Laugh your pants off with Lionel at eYada.com.

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/




Reply via email to