camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <>
Subject Re: Transacting two web services - EIP?
Date Tue, 13 Nov 2012 20:26:36 GMT
If you use the Camel, you can configure the error handler to redeliver your
message. The good is, Camel will only redeliver the failed endpoint. The
bad is, the redelivery is done in memory.
But if you use the TransactionalErrorHandler (which supports redelivery)
you can make sure you will not lose the message, if some one kill your
running process while redelivering.


On Tue, Nov 13, 2012 at 5:35 PM, dunnlow <> wrote:

> Hello, I am using camel 2.9 and Spring 3.  I have a transacted route in
> which
> I am pulling messages from a queue (activemq) and sending messages to two
> web services (via multicast).  The web services are notification services
> that send messages to users (there is no real roll back strategy - once the
> notification is sent, it is sent).  When I only needed to send to one
> service, things worked fine; if the service couldn't be reached for some
> reason, then the transacted route would keep resending until successful.
> The problem came up once I added a second web service.  Now if one web
> service fails, the retry goes back to both services so the working services
> keeps sending out notifications until the one that isn't working gets
> fixed.
> Obviously, I'd like ONLY the broken service to keep retrying (pulling the
> one that worked out of the transaction).
> Is there a good/standard way to handle this in camel?  (Obviously I can
> handle it myself outside camel, but am hoping for a camel/spring specific
> solution)
> Thanks for any ideas,
> -J
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message