This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 7562d61 CAMEL-15244 AggregationStrategy - default timeout method
should be empty (#4020)
7562d61 is described below
commit 7562d61c9f91401bf9ae6b4aed53f1a2ab5e5e61
Author: bradhgbst <[email protected]>
AuthorDate: Mon Jul 20 16:31:59 2020 +1000
CAMEL-15244 AggregationStrategy - default timeout method should be empty
(#4020)
Remove incorrect warning log.
Co-authored-by: Brad Harvey <[email protected]>
---
core/camel-api/src/main/java/org/apache/camel/AggregationStrategy.java | 2 --
1 file changed, 2 deletions(-)
diff --git
a/core/camel-api/src/main/java/org/apache/camel/AggregationStrategy.java
b/core/camel-api/src/main/java/org/apache/camel/AggregationStrategy.java
index 668cfc8..9a1ebfb 100644
--- a/core/camel-api/src/main/java/org/apache/camel/AggregationStrategy.java
+++ b/core/camel-api/src/main/java/org/apache/camel/AggregationStrategy.java
@@ -128,8 +128,6 @@ public interface AggregationStrategy {
* @param timeout the timeout value in millis, may be <tt>-1</tt> if not
possible to determine the timeout
*/
default void timeout(Exchange exchange, int index, int total, long
timeout) {
- // log a WARN we timed out since it will not be aggregated and the
Exchange will be lost
- LoggerFactory.getLogger(getClass()).warn("Parallel processing timed
out after {} millis for number {}. This task will be cancelled and will not be
aggregated.", timeout, index);
}
/**