Now I want to develop a common mail service for our systems.
As we design, we want to develop a RabbitMQ
producer and consumer. On consumer side, we could devel
Spring Lemon would be a good example for this. It uses Spring Boot, and is meant to be included in other Spring Boot applications. This is what we did to create it:
spring-boot-maven-plugin
, i.e. the build and the pluginRepositories sections in pom.xml. (See how a pom.xml would look without these sections).According to the documentation:
Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run".
But Spring Boot is not the silver bullet which matches all situations. If you want to create a library, you can create a regular spring project which builds a jar and stores it in your company's repository, if you have one.