Croway commented on code in PR #23863:
URL: https://github.com/apache/camel/pull/23863#discussion_r3374694398


##########
components/camel-redis/src/main/java/org/apache/camel/component/redis/processor/aggregate/RedisAggregationRepository.java:
##########
@@ -142,10 +148,10 @@ public Exchange add(CamelContext camelContext, String 
key, Exchange exchange) {
             throw new UnsupportedOperationException();
         }
         LOG.trace("Adding an Exchange with ID {} for key {} in a thread-safe 
manner.", exchange.getExchangeId(), key);
-        RLock lock = redisson.getLock("aggregationLock");
+        DefaultExchangeHolder newHolder = 
DefaultExchangeHolder.marshal(exchange, true, allowSerializedHeaders);

Review Comment:
   oh yes, that's a good point, I'll add an entry into the migration guide



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