camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-9262) stopOnSuccess in Multicast, RecipientList
Date Thu, 29 Oct 2015 07:11:27 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-9262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-9262.
--------------------------------
    Resolution: Won't Fix
      Assignee: Claus Ibsen

> stopOnSuccess in Multicast, RecipientList
> -----------------------------------------
>
>                 Key: CAMEL-9262
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9262
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Jyrki Ruuskanen
>            Assignee: Claus Ibsen
>            Priority: Minor
>
> Let's say we have an endpoint where we should send a message and if sending fails there
are a number of fallback endpoints we should try stopping after the first successful sending
(=no exception thrown during sending).
> This sounds like a case for doTry..doCatch, but then we can't use defaultErrorHander
and friends.
> I think it would look quite right if we could say .stopOnSuccess() or .shortCircuit()
on multicast and have it stop after the first successful send.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message