Camel
  1. Camel
  2. CAMEL-3033

@WebFault interceptor to map exceptions to faults

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: camel-cxf
    • Labels:
      None

      Description

      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
      http://camel.465427.n5.nabble.com/CXF-consumer-fault-handling-tp2264078p2264078.html

      It should be possible to include in camel-core as annotations jars is optional.

        Issue Links

          Activity

            People

            • Assignee:
              Willem Jiang
              Reporter:
              Claus Ibsen
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development