Results 1 to 3 of 3

Thread: How to get the list of messages in a Queue Channel?

  1. #1
    Join Date
    Sep 2010
    Posts
    23

    Default How to get the list of messages in a Queue Channel?

    Hi All,
    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,
    Mohan MaligiReddy.
    Last edited by mmaligireddy; Oct 22nd, 2010 at 04:16 AM.

  2. #2
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    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)

  3. #3
    Join Date
    Sep 2010
    Posts
    23

    Default

    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.

    Thanks
    Mohan Reddy.M

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •