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


##########
core/camel-java-io/src/main/java/org/apache/camel/java/in/JavaChainParser.java:
##########
@@ -360,6 +374,41 @@ private void statements(int end, List<Node> out, 
Map<String, Node> constants) {
         }
     }
 
+    /** The local variables holding a route (or a part of one) in the builder 
being read. */
+    private final Set<String> routeLocals = new HashSet<>();

Review Comment:
   Fixed in 0d08fc884841: the parser clears its route locals at the start of 
each configure() body, as the replay does, with a test of two route builders in 
one file.
   
   _Claude Code on behalf of davsclaus_



-- 
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