Does anyone know if it's possible to read the number of messages that are currently being queued in a queue? It looks like I might have to use the Subscribe class, but didn't seem to find the property/method to do the work.
There is a call back command on the hub probe that will provide this information - list_subscribers. You would use a request to the hub probe to run the command and then you will get a fairly significant amount of data. The format of the return will depend on the programming language being used. It will be a table of tables in LUA, likely PDS or flat structure of key value pairs in others. I have attached a LUA script as an example of doing this. this script actually stores the message transfer rate in the Nimsoft SLM database as QoS.
I'm sorry to bother you again. In the script I see a line "database.getvariable("queuecount_...")", but I don't see database.open() before that. What database should it connect to?
I think that just causes the script to use the default database, which happens to be named user.db.
That is correct - sqllite database for storing the variables/values.
Retrieving data ...