smx-eip AbstractAggregator should support boolean property
"reportTimeoutAsErrors"
----------------------------------------------------------------------------------
Key: SM-1549
URL: https://issues.apache.org/activemq/browse/SM-1549
Project: ServiceMix
Issue Type: New Feature
Components: servicemix-eip
Affects Versions: 3.2.2
Reporter: Ron Gavlin
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.