On Mon, Sep 5, 2011 at 7:50 AM, viktornordling
<viktor.nordl...@gmail.com> wrote:
> Hello,
>
> I'm using Camel to post messages to a JMS (ActiveMQ). If the server is down,
> I want to store them locally until the server comes up again. When it's up,
> I want to redeliver all failed messages.
>
> Any ideas for how to achieve this?
>

You can enable sync sending, which mean in case the send fails the
client will get an exception
http://activemq.apache.org/async-sends.html

You could possible also embed a AMQ broker in the client, to have a
network of brokers, which mean that the brokers uses "store and
forward", meaning as a client developer, you don't need to develop a
store and redeliver solution yourself.
http://activemq.apache.org/terminology.html

You may get better answers at the AMQ user forum as this kind of
questions is mostly related to AMQ than Camel.


> Best regards,
> Viktor Nordling
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Detecting-server-up-to-redeliver-failed-messages-tp4769315p4769315.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to