camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Savas Ali Tokmen (JIRA)" <>
Subject [jira] Updated: (CAMEL-3033) @WebFault interceptor to map exceptions to faults
Date Mon, 09 Aug 2010 09:55:47 GMT


Savas Ali Tokmen updated CAMEL-3033:

    Attachment: camel-3033_webfault_annotated_exception_to_soapfault.patch

Attached patch that adds the functionality that enables CAMEL-CXF to generate an adequate
SOAP Fault when the Exception thrown by a CAMEL exchange has a JAX-WS @WebFault annotation.

The patch also adds in a test that checks that things keep on working great.

I'm of course happily donating this code to Apache CAMEL.

> @WebFault interceptor to map exceptions to faults
> -------------------------------------------------
>                 Key: CAMEL-3033
>                 URL:
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: Future
>         Attachments: camel-3033_webfault_annotated_exception_to_soapfault.patch
> Like the {{HandleFaultInterceptor}} which turns fault -> exception, we should offer
the reverse.
> The @WebFault is a standard annotation. The interceptor should then introspect the thrown
exception and see if its annotated with @WebFault. If so it should turn the exception into
a fault message.
> See nabble
> It should be possible to include in camel-core as annotations jars is optional.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message