Git Product home page Git Product logo

Comments (4)

artembilan avatar artembilan commented on March 29, 2024

Eh... Looks like it is just an omission.

I think we just have to provide a couple of setters (setKey(Trust)StoreType()) to have that configurable.

Feel free to contribute that via Pull Request!

Meanwhile I think we don't have choice unless leave it as PKCS12 by default for the current 1.6.2 and and change it to JKS in 2.0 already.

See https://jira.spring.io/browse/AMQP-626 for tracking.

from spring-amqp.

garyrussell avatar garyrussell commented on March 29, 2024

As to why it's that way, we simply copied the Java example on the rabbitmq page.

from spring-amqp.

roasher avatar roasher commented on March 29, 2024

Ok, we have setter now, but how can we use it?
I can't just define custom RabbitConnectionFactoryBean - in RabbitAutoConfiguration class there is @ConditionalOnMissingBean(ConnectionFactory.class) and RabbitConnectionFactoryBean is created through "new" - so it is mean that my bean won't be used unless I will create whole custom CachingConnectionFactory which I don't need. Why this is not in ssl properties like others?

from spring-amqp.

artembilan avatar artembilan commented on March 29, 2024

@roasher ,

The RabbitAutoConfiguration is in the Spring Boot project. Consider to request such an improvement there, please.

Right, you don't have choice unless build the whole RabbitConnectionFactoryBean. Although you still can reuse that RabbitProperties.

from spring-amqp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.