Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-259

smx-eip AbstractAggregator should support boolean property "reportTimeoutAsErrors"

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      It would be useful to add a boolean property entitled "reportTimeoutAsErrors" to the eip AbstractAggregator. The default value would be false to provide the current behavior. If set to true and a timeout occurred, an error status would be returned to all consumers.

      The intent of this property is to make error handling simpler in the case where the aggregation really needs all the
      exchanges to provide a valid result. This eliminates the need to implement a follow-on endpoint that compares messagesReceived to messagesExpected and throws an exception if their values differ.

      Attachments

        1. sm-1549.patch
          10 kB
          Ron Gavlin

        Activity

          People

            gnodet Guillaume Nodet
            rgavlin Ron Gavlin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: