-
Notifications
You must be signed in to change notification settings - Fork 40.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make use of RabbitConnectionFactoryBean.setUri() #3328
Comments
I have used URI uriObject = new URI(input);
com.rabbitmq.client.ConnectionFactory factory = new com.rabbitmq.client.ConnectionFactory();
factory.setUri(uri);
this.username = uriObject.getUserInfo().split(":")[0]);
this.password = uriObject.getUserInfo().split(":")[1]);
this.virtualhost = uriObject.getPath(); |
@wilkinsona, Should new property |
@ayudovin We've backed ourselves into a bit of a corner with Rabbit's configuration. We currently treat the addresses property in a somewhat similar way to how Rabbit treats a URI in that we parse various things out of it (although only from the first address when there's more than one), whereas Rabbit expects address to just be a host:port pair. RabbitProperties' addresses property should really align with Rabbit and only take |
#2944 (comment)
The text was updated successfully, but these errors were encountered: