We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 00d87ee + 81bba75 commit d6ace80Copy full SHA for d6ace80
src/main/java/com/rabbitmq/client/amqp/impl/AmqpRpcServer.java
@@ -85,7 +85,13 @@ public Message message(byte[] body) {
85
this.correlationIdExtractor = builder.correlationIdExtractor();
86
}
87
if (builder.replyPostProcessor() == null) {
88
- this.replyPostProcessor = Message::correlationId;
+ this.replyPostProcessor =
89
+ (msg, corrId) -> {
90
+ if (msg != null) {
91
+ msg.correlationId(corrId);
92
+ }
93
+ return msg;
94
+ };
95
} else {
96
this.replyPostProcessor = builder.replyPostProcessor();
97
0 commit comments