Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.4.0, 4.5.0
-
None
-
Unknown
Description
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.
Attachments
Issue Links
- relates to
-
CAMEL-20609 camel-core - Using variableReceive should use a child exchange for processing
- Open