You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting values forspring.rabbitmq.username and spring.rabbitmq.password in application.properties does not overwrite the default values, which are configured as guest.
Thank you for the sample.
Just checked out it and ran:
Here are the highlights of this release:
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.1.6)
2023-12-04T11:51:41.739-05:00 INFO 18604 --- [ main] org.example.Main : Starting Main using Java 17.0.5 with PID 18604 (C:\SpringIO\tmp\spring-amqp-testing\build\classes\java\main started by abilan in C:\SpringIO\tmp\spring-amqp-testing)
2023-12-04T11:51:41.741-05:00 INFO 18604 --- [ main] org.example.Main : No active profile set, falling back to 1 default profile: "default"
2023-12-04T11:51:42.325-05:00 INFO 18604 --- [ main] org.example.Main : Started Main in 0.82 seconds (process running for 1.117)
Host: test-host
Username: test-user
Password: test-password
So, I cannot reproduce what you are claiming.
More over it sounds more like nothing to do with Spring AMQP, but rather Spring Boot by itself.
This project does not manage those properties.
I'm closing as Invalid.
If you still have some concerns about that behavior, please, consider to re-open issue in Spring Boot by itself.
Even if there is any problem, we just cannot do anything here since the code is out there in Spring Boot.
In what version(s) of Spring AMQP are you seeing this issue?
org.springframework.boot:spring-boot-starter-amqp:3.1.6
org.springframework.amqp:spring-rabbit:3.0.10
Describe the bug
Setting values for
spring.rabbitmq.username
andspring.rabbitmq.password
inapplication.properties
does not overwrite the default values, which are configured asguest
.To Reproduce
This repository is set up to reproduce the issue: https://github.com/quang-do-se/spring-amqp-testing
Expected behavior
spring.rabbitmq.username
andspring.rabbitmq.password
should be updated according to what is defined in theapplication.properties
file.Sample
Repository: https://github.com/quang-do-se/spring-amqp-testing
The text was updated successfully, but these errors were encountered: