I'm using the following code to list scheduled messages as JSON:
ObjectName queueObjectName = getQueueObjectName(queueName);
QueueControl queueControl = getQueueControl(queueObjectName);
This is working great but when there's a lot of messages (10K) the memory needed to create the JSON is too important.
Is there a way to paginate/browse/stream the list of messages ? I think QueueBrowser is only for messages delivered to the queue and AFAIK scheduled message are not yet in the queue ?
Retrieving data ...