zhfeng commented on code in PR #8141:
URL: https://github.com/apache/camel/pull/8141#discussion_r943311105
##########
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:
yeah, I will update it.
##########
core/camel-api/src/main/java/org/apache/camel/Exchange.java:
##########
@@ -254,6 +254,7 @@ public interface Exchange {
String TRACING_HEADER_FORMAT = "CamelTracingHeaderFormat";
@Deprecated
String TRACING_OUTPUT_FORMAT = "CamelTracingOutputFormat";
+ String TRANSACTION_CONTEXT_DATA = "CamelTransactionContextData";
Review Comment:
Currently it only needs to store an EntityManager but I'd like to keept it
more generic since it could be used for sharing any data in sub exchanges
during the 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]