Spring integration 像spring websocket那样构建spring集成渠道';不支持非stomp客户端的消息传递
由于我们的websocket服务器不使用stomp,spring不提供MessageBroker框架。我的设想是将spring消息发布/订阅与Redis message store for dev结合使用,并将message broker从Redis迁移到SQS+Dynamo for prod版本 由于我排除了stomp(因为ios和Android由于缺乏支持而不准备将stomp客户端放在前台),SpringWebSocket库也没有启用发布/订阅功能 我们的商业案例示例: 每个连接的websocket会话都会向另一个微服务(Java websocket客户端)发出获取数据的请求。我的愿景是通过pub/sub架构将这两项服务与redis连接起来Spring integration 像spring websocket那样构建spring集成渠道';不支持非stomp客户端的消息传递,spring-integration,spring-websocket,spring-messaging,Spring Integration,Spring Websocket,Spring Messaging,由于我们的websocket服务器不使用stomp,spring不提供MessageBroker框架。我的设想是将spring消息发布/订阅与Redis message store for dev结合使用,并将message broker从Redis迁移到SQS+Dynamo for prod版本 由于我排除了stomp(因为ios和Android由于缺乏支持而不准备将stomp客户端放在前台),SpringWebSocket库也没有启用发布/订阅功能 我们的商业案例示例: 每个连接的webso
remove()
Spring集成有基于Spring框架的内置。
谢谢。我正在研究你的建议。我从你那里得到了推荐信。webSocketOutboundAdapter未将数据返回到客户端。我使用了ChromeWebSocket客户端。集成流正在工作,消息已正确路由,但不会返回到浏览器客户端。我应该使用TCPOutbound适配器将消息路由到客户端浏览器或服务吗?不要在评论中提出新问题;相反,提出一个新问题,显示您的代码和配置。