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

Claus Ibsen edited comment on CAMEL-20607 at 3/23/24 12:21 PM:
---------------------------------------------------------------

TODO: Enricher / PollEnricher exchange vs aggregatedExchange *DONE*


was (Author: davsclaus):
TODO: Enricher / PollEnricher exchange vs aggregatedExchange

> camel-core - Using variableReceive should only set result if exchange was 
> process succesfully
> ---------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-20607
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20607
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 4.4.0, 4.5.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.6.0
>
>
> Users may use onException to handle failures during processing, and want the 
> exchange to break out and return the built response as-is, just like without 
> using variables.
> So variables will store the result only if success, like a programming like
> var foo = callMyFunction(exchange);
> Here foo is only assigned a variable if callMyFunction completed and returned 
> a value, if an exception was thrown then foo is not assigned anything.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to