2.0依赖升级完成

This commit is contained in:
Xiong Neng
2018-09-09 22:16:56 +08:00
parent 9e9cd02507
commit 483b642ca0
29 changed files with 41 additions and 78 deletions

View File

@ -72,7 +72,7 @@ public class AsyncRPCServer {
public void onSuccess(String result) {
amqpTemplate.convertAndSend(replyTo, (Object) result, m -> {
//https://stackoverflow.com/questions/42382307/messageproperties-setcorrelationidstring-is-not-working
m.getMessageProperties().setCorrelationId(correlationId);
m.getMessageProperties().setCorrelationId(new String(correlationId));
return m;
});
}