You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (Updated) (JIRA)" <ji...@apache.org> on 2012/02/21 15:58:34 UTC
[jira] [Updated] (CAMEL-5025) The ErrorHandler doesn't work when
Splitter working in Streaming model.
[ https://issues.apache.org/jira/browse/CAMEL-5025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang updated CAMEL-5025:
--------------------------------
Description:
When the Splitter working in Streaming model, the error handle does work if the exception is throw from body iterator.
{code}
errorHandler(deadLetterChannel("mock:error"));
from("direct:start").
split(body()).
streaming().
to("mock:end").
end();
{code}
Here is the mail thread[1] which discusses about it.
[1]http://camel.465427.n5.nabble.com/Streaming-splitter-ignores-exception-handling-tt5501036.html#a5501601
was:
When the Splitter working in Streaming model, the error handle does work if the exception is throw from body iterator.
{code}
errorHandler(deadLetterChannel("mock:error"));
from("direct:start").
split(body()).
streaming().
to("mock:end").
end();
{code}
Here is the mail thread which discusses about it.
[1]http://camel.465427.n5.nabble.com/Streaming-splitter-ignores-exception-handling-tt5501036.html#a5501601
> The ErrorHandler doesn't work when Splitter working in Streaming model.
> -----------------------------------------------------------------------
>
> Key: CAMEL-5025
> URL: https://issues.apache.org/jira/browse/CAMEL-5025
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.6.0, 2.7.0, 2.8.0, 2.9.0
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 2.8.5, 2.9.1, 2.10.0
>
>
> When the Splitter working in Streaming model, the error handle does work if the exception is throw from body iterator.
> {code}
> errorHandler(deadLetterChannel("mock:error"));
> from("direct:start").
> split(body()).
> streaming().
> to("mock:end").
> end();
> {code}
> Here is the mail thread[1] which discusses about it.
> [1]http://camel.465427.n5.nabble.com/Streaming-splitter-ignores-exception-handling-tt5501036.html#a5501601
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira