davsclaus commented on code in PR #31050:
URL: https://github.com/apache/camel/pull/31050#discussion_r4723469954
##########
components/camel-avro-rpc/camel-avro-rpc-component/src/main/java/org/apache/camel/component/avro/AvroListener.java:
##########
@@ -50,9 +51,50 @@ public class AvroListener {
private final ConcurrentMap<String, AvroConsumer> consumerRegistry = new
ConcurrentHashMap<>();
private AvroConsumer defaultConsumer;
private final Server server;
Review Comment:
Good point, done in 03135e1aef42: `defaultConsumer` is now `volatile`, so a
request on an Avro server thread sees the consumer that registered last.
_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]