Kamil created CAMEL-12101:
-----------------------------

             Summary: 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
         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)

Reply via email to