If the aggregator isn't suitable, camel-cache[1] might work better.

[1] http://camel.apache.org/cache.html

Taariq


On Mon, Oct 21, 2013 at 5:00 AM, Willem jiang <willem.ji...@gmail.com>wrote:

> In most case the queue is serving as first in and first out, if you just
> want to display the last message, you may need to use aggregator[1] to find
> the last one.
>
>
> [1]http://camel.apache.org/aggregator2.html
> --
> Willem Jiang
>
> Red Hat, Inc.
> Web: http://www.redhat.com
> Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
> (English)
>           http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
> Twitter: willemjiang
> Weibo: 姜宁willem
>
>
>
>
>
> On Sunday, October 20, 2013 at 6:54 PM, Rajalakshmi Raman wrote:
>
> > Hi,
> > I passed 100 messages into the queue. From there i need to display only
> the
> > last message into the browser. Please help out.
> >
> > Thanks,
> > Raji
> >
> >
> >
> > --
> > View this message in context:
> http://camel.465427.n5.nabble.com/Display-only-the-last-message-into-the-browser-tp5741924.html
> > Sent from the Camel - Users mailing list archive at Nabble.com (
> http://Nabble.com).
>
>
>
>

Reply via email to