This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-3.4.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.4.x by this push:
     new 554e8e6  CAMEL-15244 AggregationStrategy - default timeout method 
should be empty (#4021)
554e8e6 is described below

commit 554e8e6af0bbd6c81b5ebbaeafb816cb5f5a6561
Author: bradhgbst <54832976+bradhg...@users.noreply.github.com>
AuthorDate: Mon Jul 20 16:32:11 2020 +1000

    CAMEL-15244 AggregationStrategy - default timeout method should be empty 
(#4021)
    
    Remove incorrect warning log.
    
    Co-authored-by: Brad Harvey <harve...@gmail.com>
---
 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);
     }
 
     /**

Reply via email to