Browse Source

修改STP底层通信包装消息的Key

tags/1.0.0
shaozhuguang 5 years ago
parent
commit
20ed2db6c7
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      source/stp/stp-communication/src/main/java/com/jd/blockchain/stp/communication/message/TransferMessage.java

+ 1
- 2
source/stp/stp-communication/src/main/java/com/jd/blockchain/stp/communication/message/TransferMessage.java View File

@@ -112,8 +112,7 @@ public class TransferMessage extends AbstractMessage implements IMessage{
* @return * @return
*/ */
public String toListenKey() { public String toListenKey() {
// 格式:sessionId:key
return sessionId + ":" + key;
return key;
} }


public String getSessionId() { public String getSessionId() {


Loading…
Cancel
Save