Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1226

Validation component should optionally handle errors by propagating a "correct JBI message" with "fault content"

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.1
    • 3.2.2, 3.3
    • servicemix-lwcontainer
    • None

    Description

      The current behavior of the Validation component is to return a fault in the message exchange if a schema validation error is encountered. In some cases, the desired behavior is to instead forward a "correct JBI message" with "fault content" to the next component in the flow. This component can inspect the message content and gracefully handle the fault within the flow.

      Attachments

        1. ValidateComponent.java.patch
          3 kB
          Andrea Zoppello

        Activity

          People

            Unassigned Unassigned
            rgavlin Ron Gavlin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: