You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2018/01/11 14:51:00 UTC
[jira] [Resolved] (CAMEL-12101) CXF endpoint doesn't work with
try/catch when @Oneway is used
[ https://issues.apache.org/jira/browse/CAMEL-12101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-12101.
---------------------------------
Resolution: Invalid
Assignee: Claus Ibsen
Fix Version/s: 2.21.0
> CXF endpoint doesn't work with try/catch when @Oneway is used
> -------------------------------------------------------------
>
> Key: CAMEL-12101
> URL: https://issues.apache.org/jira/browse/CAMEL-12101
> Project: Camel
> Issue Type: Bug
> Components: camel-cxf
> Affects Versions: 2.20.1
> Reporter: Kamil
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.21.0
>
> Attachments: camel-cxf-exception.zip
>
>
> Although [this|https://issues.apache.org/jira/browse/CAMEL-5356] issue has been fixed, it is still not fully functional.
> When
> {code}
> @Oneway
> {code}
> annotation is used in Endpoint, then Exception is hidden.
> Of course exceptions can happen in OneWay communication (take host not found, or timeout exceptions for example) so please fix it.
> I have attached working test case.
> 1) Unzip it
> 2) run: ./gradlew clean test -> It will fail
> 3) Open src\main\java\sample\ws\service\Hello.java
> 4) remove first (yes, one) slash from line 22 which will uncomment working solution
> 5) run: ./gradlew clean test -> It will pass
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)