[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-users
Subject:    Re: Reorder of messages
From:       James Strachan <james.strachan () gmail ! com>
Date:       2012-10-30 14:40:04
Message-ID: CALTd4v9uqaHjpB+=5xgR69zxnrUTeu3OMArwhXDNt2CPyrc0+g () mail ! gmail ! com
[Download RAW message or body]

On 30 October 2012 14:32, Gary Tully <gary.tully@gmail.com> wrote:
> using priority support should do it, but there is no api that allows
> you to change the order of a pending message on a queue. You would
> have to consume and re send.
>
> Using the jms api, find the message using a browse, consumer with
> selector matching the message id and issue a new message send.
>
> You could maybe build that logic with camel and have it kicked off
> with a specific event on an update queue.

Here's the documentation on the Resequencer which can consume from a
queue, reorder the messages and send to another queue....
http://camel.apache.org/resequencer.html



-- 
James
-------
Red Hat

Email: jstracha@redhat.com
Web: http://fusesource.com
Twitter: jstrachan, fusenews
Blog: http://macstrac.blogspot.com/

Open Source Integration

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic