You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/12/10 16:35:52 UTC

[jira] Commented: (CAMEL-2278) recipientList onException redelivery issue

    [ https://issues.apache.org/activemq/browse/CAMEL-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56360#action_56360 ] 

Claus Ibsen commented on CAMEL-2278:
------------------------------------

trunk: 889295.

Marco if you build from source you can try with that commit which should help fix you issue.
I need to add some more unit testing but wanted to give you a chance to test it on your end as well ASAP.

> recipientList onException redelivery issue
> ------------------------------------------
>
>                 Key: CAMEL-2278
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2278
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>         Environment: windows xp, eclipse ide
>            Reporter: Marco Crivellaro
>            Assignee: Claus Ibsen
>
> using a recipientList containing a csv list of ftp endpoints.
> I would like to retry the delivery to a given ftp enpoint fails. 
> I've set up an onException with maximumRedeliveries set to 2. 
> In case an error occurs sending the message to 1 ftp endpoint the redelivery is performed on all endpoints specified on the csv list; the redelivery should be performed only on the failed endpoint is there a way to achieve this?
> route sample 
> from("direct:delivery.notification.test")
> .onException(Exception.class).maximumRedeliveries(2).redeliverDelay(60L).handled(true).end()
> .recipientList(header("recipientListHeader").tokenize(","))
> .parallelProcessing().executorService(customThreadPoolExecutor)
> 						//.aggregationStrategy(new recipientAggregationStrategy())
> 						.to("direct:chunk.completed");

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.