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

Yaroslav Chukhno commented on CAMEL-15129:
------------------------------------------

Sorry guys, i made mistake in description. On  *throwExceptionOnFailure=false* 
all exceptions in UndertowClientCallback  will be suppressed. As example, if in 
[https://github.com/apache/camel/blob/7df7778b1a2afe4a2da0730c11f6b1926f613943/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowClientCallback.java#L279]

will be thrown  IOException, then it will be supressed in  
[https://github.com/apache/camel/blob/7df7778b1a2afe4a2da0730c11f6b1926f613943/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowClientCallback.java#L291]
 because the 
[https://github.com/apache/camel/blob/7df7778b1a2afe4a2da0730c11f6b1926f613943/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowClientCallback.java#L187]
 has not be executed

> Camel-Undertow: throwExceptionOnFailure suppress all exception that not 
> related to HttpStatusCode
> -------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-15129
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15129
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-undertow
>    Affects Versions: 3.3.0
>            Reporter: Yaroslav Chukhno
>            Priority: Major
>
> If option throwExceptionOnFailure=true then UndertowClientCallback suppresses 
> all exceptions that are not even related to HttpStatusCode (failed responses 
> from the remote server).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to