On Wed, Jan 13, 2010 at 12:49 PM, mcrive <[email protected]> wrote:
>
>
> Claus Ibsen-2 wrote:
>>
>> 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 :)
>>
>
> to do this I'd need to specify a 'custom property' for each endpoint,
> I've tried doing that at URI level but runs in
> org.apache.camel.ResolveEndpointFailedException due to the wrong parameter
>

No you should not. Use the searchbox on the Camel frontpage and type
in redeliverUntil and check the links. There should be some wiki docu
how to use it.

> --
> View this message in context: 
> http://old.nabble.com/recipientList-redelivery-tp27143430p27143640.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

Reply via email to