Announcement Announcement Module
Collapse
No announcement yet.
How to get the list of messages in a Queue Channel? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 05:16 AM.

  • #2
    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)

    Comment


    • #3
      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

      Comment

      Working...
      X