将 AggregateApplicationBuilder 与本地活页夹一起使用

Using AggregateApplicationBuilder with a local binder

我正在尝试使用 AggregateApplicationBuilder 聚合不同的 SinkSource spring 启动应用程序,如下所述:http://docs.spring.io/spring-cloud-stream/docs/current-SNAPSHOT/reference/htmlsingle/#_aggregation

由于我希望进程通信,所以我不想设置 kafkarabbitmq 活页夹。如何配置本地的?我发现 spring-cloud-stream-binder-local 存在,但它在 M2 中很长时间了,并且没有嵌入发布序列。

如何在不依赖外部系统的情况下使用 AggregateApplicationBuilder

谢谢

使用 AggregateApplicationBuilder,您不必为聚合应用程序中直接绑定通道的 in-process 通信配置 binder。仅当您需要聚合应用程序本身使用消息 from 代理或生成消息 to 代理时才需要活页夹。如果聚合应用程序本身是 self-contained,则根本不需要 binder