开发者社区 问答 正文

spring websocket在集群下怎么实现? 400 报错

spring websocket在集群下怎么实现? 400 报错 业务场景:A请求在服务器1,B请求在服务器2,A向B发消息,A怎么获取B的 WebSocketSession

展开
收起
爱吃鱼的程序员 2020-06-02 14:05:16 503 分享
分享
版权
举报
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    应该要有一个路由的功能######服务器要session共享######霡霂开吃######使用session进行页面控制操作: http://edu.51cto.com/course/course_id-5132.html######目前先在服务器间做了http请求,暂时先这样######

    具体是怎么实现的?

    2020-06-02 14:05:27 举报
    赞同 评论

    评论

    全部评论 (0)

    登录后可评论
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等