[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xmlblaster] determine if a session/queue already exists



1. Is there an easier way to query the server on whether a specific session is already active (i.e. check if sessionname=joe/1 is active)? The way I've found to do this is to publish a  /client/joe/?sessionList admin command and parse through the returned sessions ids, but it seems like more work than it should be.

2. Also, is there an easier way to determine whether a specific session's callback queue exists? I do this by publishing an admin get on the queue (client/joe/1/?cbQueueEntries) and checking the value of the MsgUnitArr. If it's null, I assume the cb queue doesn't exist. Is this the right way to find out whether the cb queue exists, or is there a more direct query?