On Wed, Jan 13, 2010 at 12:28 PM, mcrive <[email protected]> wrote: > > hi I am using Camel 2.2, > is there a way to specify a different value of maximumRedeliveries for each > endpoint when using recipentList? >
You can use redeliverUntil to determine whether or not redelivery should occur. And you can get the failed endpoint as a property: String failedEndpointUri = exchange.getProperty(Exchange.FAILURE_ENDPOINT, String.class); Then in your redeliverUntil you can have different number of redeliveries based on the endpoint. There is no DSL configuration that allows you to configure redelivery policies per endpoint. Which we in the future could implement if there is a demand for that. But error handling is complex and adding that just makes it more complex :) > > -- > View this message in context: > http://old.nabble.com/recipientList-redelivery-tp27143430p27143430.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
