Enabling Spring Cloud Stream

The recommended way to include Spring Cloud Stream in the project is with a dependency management system. Spring Cloud Stream has an independent release trains management in relation to the whole Spring Cloud framework. However, if we have declared spring-cloud-dependencies in the Edgware.RELEASE version in the dependencyManagement section, we wouldn't have to declare anything else in pom.xml. If you prefer to use only the Spring Cloud Stream project, you should define the following section:

<dependencyManagement> <dependencies>  <dependency>   <groupId>org.springframework.cloud</groupId>   <artifactId>spring-cloud-stream-dependencies</artifactId>   <version>Ditmars.SR2</version>   <type>pom</type> <scope>import</scope> ...

Get Mastering Spring Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.