Hi, for monitoring purposes we're looking for a way to retrieve the current messages from a queue and which consumer, if any, is currently processing them.
I found the getMessageInfo operation on Queue objects which enumerates messages. I can determine messages that are currently processed by filtering for state 'Acquired'. However, I don't see a way to determine which specific consumer has acquired which messages. There is a 'deliveredTo' field, but the value is some internal _consumerNumber attribute of the consumer that seems to be used nowhere else in the REST API. Would it be possible to return the actual consumer ID in the deliveredTo field to make it more useful? Another option would be to add the _consumerNumber to the result of the Queue getConsumers operation. That would allow cross reference. Any other suggestion? Again I'm looking for a way to determine the consumer that has currently acquired a message from the queue. Thanks Timo
