What version of Camel do you use? On Tue, Feb 9, 2016 at 6:53 AM, NES <nes...@gmail.com> wrote: > Hi, I'm implentnting the function that receive a message from servlet > endpoint and send it to some endpoints. > > like this. > > <route> > <from uri="servlet:///foo" /> > <multicast> > <to uri="http4://127.0.0.1:80/bar..." /> > <to uri="sql:INSERT INTO BAZ_TBL (NAME) VALUES(:#${body})..." > /> > <to uri="activemq:qux..." /> > </multicast> > </route> > > Now, I want to add the retry option to every endpoint. > e.g. if sending message by http4 and activemq is success, and by sql is > failed, I want to only execute query again. > I also want to define retry count and interval separately. > > I tried to use Redelivery Policy of Camel, but onException and Error Handler > don't have endpoint scope. > > How can I implement retry options? > I’d appreciate it. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Redelivery-per-Endpoint-tp5777413.html > Sent from the Camel - Users mailing list archive at Nabble.com.
-- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2