activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: Persist Last Image
Date Fri, 11 Apr 2014 11:31:07 GMT
take at peek at

there is a nice (if trivial) custom example at

One option may be back the query with a queue, purge and browse[0] to
get the last image when necessary.

On 10 April 2014 02:53, Charels_Li <> wrote:
> Hi all. Recently we have such a need in our project. We would like to always
> persist the last sent message. So in case of a system failure, we would be
> able to recover the message and resend to the consumer once they are
> reconnected.
> My plan was to save the message right after it was sent and by doing in a
> rolling fashion, there is always the last message on the disk. However, this
> method seems not right.
> Does anyone have an idea how this could be done?
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


View raw message