无法解析频道名称(Spring,Rabbit)

时间:2016-06-23 01:21:31

标签: java spring rabbitmq spring-rabbit

当我尝试向Rabbit队列发送消息时遇到问题,我得到了下一个异常:

Caused by: java.lang.Exception: failed to resolve channel name 'userManager';
nested exception is
   org.springframework.messaging.core.DestinationResolutionException:
       failed to look up MessageChannel with name 'userManager' in the BeanFactory.;
   nested exception is
       org.springframework.beans.factory.NoSuchBeanDefinitionException:
           No bean named 'userManager' is defined

在我的本地环境和我的合作伙伴环境中一切正常但是当我将消息发送到DEV和QA环境(AWS)时,抛出异常,我尝试了很多东西,例如重启组件,更改我的服务激活器的名称,重启兔服务器,重启mongo。我不知道这个问题是否是兔子配置所以如果有人可以帮助我,我真的很感激。

0 个答案:

没有答案