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

davsclaus 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 3781799  CAMEL-16103: Fixed multicast based EIPs (splitter, recipient 
list) in transacted mode will cause stackframe sizes to grown deep and lead to 
stack overflow error.
3781799 is described below

commit 378179991f67dfdfdc63877c1bbb070955897a00
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Sun Jan 31 17:08:24 2021 +0100

    CAMEL-16103: Fixed multicast based EIPs (splitter, recipient list) in 
transacted mode will cause stackframe sizes to grown deep and lead to stack 
overflow error.
---
 .../spring/interceptor/TransactedStackSizeBreakOnExceptionTest.java     | 2 +-
 .../spring/interceptor/TransactedStackSizeParallelProcessingTest.java   | 2 +-
 .../org/apache/camel/spring/interceptor/TransactedStackSizeTest.java    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactedStackSizeBreakOnExceptionTest.java
 
b/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactedStackSizeBreakOnExceptionTest.java
index 1a6b5b6..f367cc3 100644
--- 
a/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactedStackSizeBreakOnExceptionTest.java
+++ 
b/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactedStackSizeBreakOnExceptionTest.java
@@ -23,9 +23,9 @@ import org.junit.jupiter.api.Test;
 
 public class TransactedStackSizeBreakOnExceptionTest extends 
TransactionClientDataSourceSupport {
 
+    private static final boolean PRINT_STACK_TRACE = false;
     private int total = 100;
     private int failAt = 70;
-    private static final boolean PRINT_STACK_TRACE = false;
 
     @Test
     public void testStackSize() throws Exception {
diff --git 
a/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactedStackSizeParallelProcessingTest.java
 
b/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactedStackSizeParallelProcessingTest.java
index 729c78d..d229ea3 100644
--- 
a/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactedStackSizeParallelProcessingTest.java
+++ 
b/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactedStackSizeParallelProcessingTest.java
@@ -22,8 +22,8 @@ import org.junit.jupiter.api.RepeatedTest;
 
 public class TransactedStackSizeParallelProcessingTest extends 
TransactionClientDataSourceSupport {
 
-    private int total = 100;
     private static final boolean PRINT_STACK_TRACE = false;
+    private int total = 100;
 
     // to test for flaky when using parallel processing then set this to 100
     @RepeatedTest(value = 1)
diff --git 
a/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactedStackSizeTest.java
 
b/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactedStackSizeTest.java
index 984121b..2ad0ffe 100644
--- 
a/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactedStackSizeTest.java
+++ 
b/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactedStackSizeTest.java
@@ -22,8 +22,8 @@ import org.junit.jupiter.api.Test;
 
 public class TransactedStackSizeTest extends 
TransactionClientDataSourceSupport {
 
-    private int total = 100;
     private static final boolean PRINT_STACK_TRACE = false;
+    private int total = 100;
 
     @Test
     public void testStackSize() throws Exception {

Reply via email to