Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-3033

@WebFault interceptor to map exceptions to faults

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.5.0
    • camel-cxf
    • 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.

      Attachments

        Issue Links

          Activity

            People

              njiang Willem Jiang
              davsclaus Claus Ibsen
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: