-
Notifications
You must be signed in to change notification settings - Fork 56
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
add proper SSL support #130
Comments
TLS is configured at the TLS configuration is covered in the Java client documentation and in details in the TLS guide. I'll some links to the documentation. |
so you don't see a value in having |
I don't think it's the goal of the library to support properties-based configuration. Spring Boot provides the support for a configuration file, not Spring AMQP. I understand your point though and having Reactor RabbitMQ ready to use in a Spring Boot application would be cool. This could be done in the existing Spring AMQP starter or in its own starter. This is something to discuss with the Spring AMQP and Spring Boot teams. |
the thing is: I already use Reactive RabbitMQ in Spring WebFlux app, bootstrapping properties like this:
So I am not asking for any special kind of Spring integration, just for adding support for SSL bootstrap via
Currently I only can survive thanks to support for a "URI" property, that, when it start with "amqps://", enables SSL. So I assume all the bits are already there, just need some polishing to achieve more straight-forward experience |
OK, so you'd like to use the TLS configuration keys from Spring Boot for Spring AMQP in |
no, I am not going to re-use Spring Boot configuration keys :) Reactive RabbitMQ has I suggest to add support for
to that method. that's it |
hmmm wait a minute.. so |
OK, but supporting those 2 extra keys must be done in |
I've been thinking it's all Reactive RabbitMQ as in that Buzz Lightyear meme 🤦 yes, correct, that should be raised against that product |
can you do it? I guess you can put it in a much more meaningful way... |
I think this is a reasonable request for the Java client, the properties-based configuration already supports the most important settings, except for the TLS ones. Still, I would support the same keys as in Spring Boot, not only the two you mentioned. For example, what to do when |
I fully trust you on this. I just needed these two, so basically I don't even know what else they are. but certainly, feature-parity is a good thing. |
OK, let's follow up there: rabbitmq/rabbitmq-java-client#646 |
Motivation
Was not able to identify any way of enabling SSL connection with this library.
Desired solution
Can we have a non-URI support for that, like with Spring AMQP:
and a properly documented example?
Considered alternatives
Had to supply URI property starting with "ampqs". Which is not very convenient..
Additional context
The text was updated successfully, but these errors were encountered: