Questions tagged «spring-amqp»

12
Spring AMQP + RabbitMQ 3.3.5 ACCESS_REFUSED-使用身份验证机制PLAIN拒绝登录
我在例外之下 org.springframework.amqp.AmqpAuthenticationException:com.rabbitmq.client.AuthenticationFailureException:ACCESS_REFUSED-使用身份验证机制PLAIN拒绝登录。有关详细信息,请参阅代理日志文件。 在Windows上配置:RabbitMQ 3.3.5 在Config文件中,%APPDATA%\RabbitMQ\rabbit.config 我按照https://www.rabbitmq.com/access-control.html完成了以下更改 [{rabbit, [{loopback_users, []}]}]. 我还尝试创建一个用户/密码-测试/测试似乎无法使其正常工作。 尝试了这篇文章的步骤。 其他配置详细信息如下: Tomcat托管的Spring Application Context: <!-- Rabbit MQ configuration Start --> <!-- Connection Factory --> <rabbit:connection-factory id="rabbitConnFactory" virtual-host="/" username="guest" password="guest" port="5672"/> <!-- Spring AMQP Template --> <rabbit:template id="rabbitTemplate" connection-factory="rabbitConnFactory" routing-key="ecl.down.queue" queue="ecl.down.queue" /> <!-- Spring AMQP Admin --> <rabbit:admin id="admin" connection-factory="rabbitConnFactory"/> …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.