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

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


The following commit(s) were added to refs/heads/main by this push:
     new 940c905b215b CAMEL-24266: Add volatile to Delayer.delayValue for JMM 
visibility (#25206)
940c905b215b is described below

commit 940c905b215bcf7f504c216c15aa123f64c16a1c
Author: Guillaume Nodet <[email protected]>
AuthorDate: Wed Jul 29 10:30:02 2026 +0200

    CAMEL-24266: Add volatile to Delayer.delayValue for JMM visibility (#25206)
    
    CAMEL-24266: Add volatile to Delayer.delayValue for JMM visibility
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
 .../src/main/java/org/apache/camel/processor/Delayer.java               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/Delayer.java
 
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/Delayer.java
index 98043650072b..cf22d333216f 100644
--- 
a/core/camel-core-processor/src/main/java/org/apache/camel/processor/Delayer.java
+++ 
b/core/camel-core-processor/src/main/java/org/apache/camel/processor/Delayer.java
@@ -39,7 +39,7 @@ public class Delayer extends DelayProcessorSupport implements 
Traceable, IdAware
     private String stepId;
     private String id;
     private volatile Expression delay;
-    private long delayValue;
+    private volatile long delayValue;
 
     public Delayer(CamelContext camelContext, Processor processor, Expression 
delay,
                    ScheduledExecutorService executorService, boolean 
shutdownExecutorService) {

Reply via email to