davsclaus commented on code in PR #26657:
URL: https://github.com/apache/camel/pull/26657#discussion_r4060788725


##########
core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultErrorRegistry.java:
##########
@@ -449,7 +455,7 @@ static final class DefaultBacklogErrorEventMessage 
implements BacklogErrorEventM
         private final String threadName;
         private final JsonObject data;
         private final Throwable exception;
-        private final boolean handled;
+        private boolean handled;

Review Comment:
   Right, the write is on the processing thread and the reads on the console 
and JMX threads: `handled` is `volatile` now.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to