[
https://issues.apache.org/activemq/browse/CAMEL-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56389#action_56389
]
Claus Ibsen commented on CAMEL-2278:
------------------------------------
I had to implement a 2nd fix as the @RecipientList is more dynamic than what
you else create using the route builders (which is more static).
But I do have that covered now, need to run some additional tests before
committing.
> 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.