Hi, I think you can take a look at DeadLetter DSL[1]. [1]http://camel.apache.org/dead-letter-channel.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 Saturday, November 9, 2013 at 5:47 PM, brenuart wrote: > Suppose the following route: > > from("activemq:input") > .to("mongodb:mymongo?database=...") > > How should I handle the unavailability of the MongoDB? > Since it is a transient failure, I'd like to retry later when the db is back > online... > > Should I tell CAMEL to retry "forever" (or at least long enough) until it > goes through ? > Or should I let Camel fail and tell ACTIVEMQ to retry ? > What is the solution usually applied for this kind of scenario ? > > Thx > > /Bertrand > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Handling-failures-due-to-endpoint-temporary-unavailability-tp5742920.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).
