具有 spring 集成和 spring 启动的微服务

Microservices with spring integration and spring boot

我对微服务(和 SI)有点陌生,想制作一个遵循微服务架构风格的 POC。我已经看到我可以使用 Spring Boot 进行部署,使用 SI 进行开发,但发现很少有关于如何组合它们的文档(只是 Spring Boot 主页中的一个示例)。您是否了解有关如何结合这两种技术的最佳实践或建议?

许多 sample apps(包括 dslstomp-chat 下的应用程序是 Spring Boot/Spring 集成应用程序。

没有任何关于此事的具体内容。

Spring Boot 利用 IntegrationAutoConfiguration 打开 @EnableIntegration 并且你可以继续使用两个世界中最好的东西: Boot 东西注入,例如AmqpTemplateMongoTemplateDataSource 等 Spring 集成配置或使用 SI XML 组件定义。

查看我们基于 Spring 引导的示例:

https://github.com/spring-projects/spring-integration-samples/tree/master/dsl https://github.com/spring-projects/spring-integration-samples/tree/master/basic/web-sockets https://github.com/spring-projects/spring-integration-samples/tree/master/applications/stomp-chat