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

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit a5bfcd1de2faa01926fad9276a618603c77147af
Author: Otavio Rodolfo Piske <angusyo...@gmail.com>
AuthorDate: Tue Apr 23 11:56:23 2024 +0200

    (chores) camel-core: code cleanup
    
    Added missing throw
---
 .../component/file/FileConsumerPollStrategyStopOnRollbackTest.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerPollStrategyStopOnRollbackTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerPollStrategyStopOnRollbackTest.java
index fc275e7f18c..d0031783aab 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerPollStrategyStopOnRollbackTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerPollStrategyStopOnRollbackTest.java
@@ -82,7 +82,7 @@ public class FileConsumerPollStrategyStopOnRollbackTest 
extends ContextTestSuppo
             try {
                 consumer.start();
             } catch (Exception e) {
-                RuntimeCamelException.wrapRuntimeCamelException(e);
+                throw RuntimeCamelException.wrapRuntimeCamelException(e);
             }
 
             if (counter++ == 0) {

Reply via email to