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


##########
core/camel-core-processor/src/main/java/org/apache/camel/processor/Splitter.java:
##########
@@ -203,6 +205,8 @@ public Iterator<ProcessorExchangePair> iterator() {
                 private int index;
                 private boolean closed;
 
+                private final Map<String, Object> data = new 
ConcurrentHashMap<>();

Review Comment:
   You should only create this map if its transacted (otherwise its waste of 
cpu for regular non transacted). And the name data should be txData to better 
indicate its for transaction



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