Oct 22nd, 2010, 01:52 AM
How to get the list of messages in a Queue Channel?
How to get the list of messages in a Queuechannel without calling purge method?
Here my requirement is like to show the details of the messages in a QueueChannel.
Is there any Spring Integration API method to provide list of messages in a QueueChannel??
Here list of messages means not size of the Queue, I want to see the each message details which are in Queue.
Thanks in Advance,
Last edited by mmaligireddy; Oct 22nd, 2010 at 04:16 AM.
Oct 23rd, 2010, 11:45 AM
The real question is what are you planning to do with such list and do you expect such list to contain a full list of Messages or just a digest-like list (e.g., messageId and timestamp)
Oct 24th, 2010, 11:43 PM
Thank you Oleg for your response,
Here my intention is like to read the Details of Messages(displaying the message contents in logger or some console) which are lying in Queue before issuing the Purge Queue Request.