我想做两个Spring Boot应用的集成测试,这两个应用也在使用Spring integration flows。要测试我的应用程序,我想检查通过myMessageChannel路由的消息。我如何窃听我的直接消息通道,并将消息重定向到PollableChannel,以便我可以逐个阅读它们?我在网上找到的方法对我都不起作用。TestPropertySource("classpath:integration.properties")
public class MyWir
使用者是一个spring集成项目,它从消息队列中消耗,并进行大量的处理。目前,它是单线程的,无法与生产者发送消息的速率相匹配。因此,队列的深度不断增加。Jms.messageDrivenChannelAdapter(Jms.container(this.emsConnectionFactory, this.emsQueue).get()))
.wireTapJms.messageDrivenChannelAdapter(Jms.container(this.emsConnectionFactory, this