Polish "Add activemq starter" contribution
Closes gh-6010
This commit is contained in:
@@ -264,6 +264,11 @@
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-activemq</artifactId>
|
||||
<version>1.4.0.BUILD-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
|
||||
@@ -3859,6 +3859,10 @@ Spring Boot can also configure a `ConnectionFactory` when it detects that Active
|
||||
available on the classpath. If the broker is present, an embedded broker is started and
|
||||
configured automatically (as long as no broker URL is specified through configuration).
|
||||
|
||||
NOTE: If you are using `spring-boot-starter-activemq` the necessary dependencies to
|
||||
connect or embed an ActiveMQ instance are provided, as well as the Spring infrastructure
|
||||
to integrate with JMS.
|
||||
|
||||
ActiveMQ configuration is controlled by external configuration properties in
|
||||
`+spring.activemq.*+`. For example, you might declare the following section in
|
||||
`application.properties`:
|
||||
|
||||
@@ -21,15 +21,7 @@
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-jms</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.activemq</groupId>
|
||||
<artifactId>activemq-broker</artifactId>
|
||||
<artifactId>spring-boot-starter-activemq</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
||||
@@ -30,9 +30,5 @@
|
||||
<groupId>org.apache.activemq</groupId>
|
||||
<artifactId>activemq-broker</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.activemq</groupId>
|
||||
<artifactId>activemq-pool</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
||||
@@ -1 +1 @@
|
||||
provides: activemq-broker,activemq-pool,spring-jms
|
||||
provides: activemq-broker,spring-jms
|
||||
|
||||
Reference in New Issue
Block a user