阅读背景:

SpringBootApplication类中的Spring Autowire在几乎相同的应用程序之间表现不同

来源:互联网 

I have two SpringBoot applications where I'm using RabbitMQ to communicate messages across a queue. One application is built to send messages and the other listens for the sent messages. Each application consists of an @SpringBootApplication file which has one @Autowired dependency at the attribute level (one application has the sender the other has the listener) and each application has a separate Spring @Configuration file which declares one bean each (one has the sender and one has the receiver). I have two SpringBoot applications where I'm us




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: