camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Crivellaro (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-2278) recipientList onException redelivery issue
Date Fri, 11 Dec 2009 10:33:52 GMT

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

Marco Crivellaro commented on CAMEL-2278:
-----------------------------------------

Ok thanks.
Do you have an idea on how log it could take?

Thanks again,
Marco

> 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.


Mime
View raw message