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

          Claus Ibsen created issue -
          S. Ali Tokmen made changes -
          Field Original Value New Value
          Attachment camel-3033_webfault_annotated_exception_to_soapfault.patch [ 19521 ]
          S. Ali Tokmen made changes -
          Attachment camel-3033_webfault_annotated_exception_to_soapfault.patch [ 19521 ]
          S. Ali Tokmen made changes -
          Attachment camel-3033_webfault_annotated_exception_to_soapfault_with_test.patch [ 19527 ]
          Willem Jiang made changes -
          Assignee Willem Jiang [ njiang ]
          Willem Jiang made changes -
          Resolution Fixed [ 1 ]
          Fix Version/s 2.5.0 [ 12320 ]
          Fix Version/s Future [ 11977 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Willem Jiang made changes -
          Component/s camel-cxf [ 11643 ]
          Component/s camel-core [ 11641 ]
          Jeff Turner made changes -
          Project Import Sat Nov 27 00:14:50 EST 2010 [ 1290834890113 ]
          Claus Ibsen made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Peter Leibiger made changes -
          Link This issue is related to CAMEL-6525 [ CAMEL-6525 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development