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] Created: (CAMEL-2278) recipientList onException redelivery issue
Date Thu, 10 Dec 2009 14:09:52 GMT
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


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