[
https://issues.apache.org/jira/browse/CAMEL-12101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-12101:
--------------------------------
Priority: Minor (was: Major)
> 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
> Priority: Minor
> 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)