This closes #2715
This commit is contained in:
commit
f54c299ca5
|
@ -6,18 +6,17 @@ This example shows you how to configure ActiveMQ Artemis so all messages are del
|
|||
|
||||
## ExclusiveQueueExample.java
|
||||
|
||||
The broker is configured (using 'address-settings'), so that the queue is exclusive and will deliver all messages to the same
|
||||
The broker is configured (using `address-settings`), so that the queue is exclusive and will deliver all messages to the same
|
||||
consumer
|
||||
|
||||
```xml
|
||||
<address-settings>
|
||||
<address-setting match="my.exclusive.queue">
|
||||
<default-exclusive-queue>true</default-exclusive-queue>
|
||||
</address-setting>
|
||||
</address-settings>
|
||||
<address-settings>
|
||||
<address-setting match="my.exclusive.queue">
|
||||
<default-exclusive-queue>true</default-exclusive-queue>
|
||||
</address-setting>
|
||||
</address-settings>
|
||||
```
|
||||
|
||||
|
||||
## ExclusiveQueueClientSideExample.java
|
||||
|
||||
The JMS Queue is auto created from the client code and uses the `exclusive` parameter.
|
||||
|
|
|
@ -24,7 +24,7 @@ under the License.
|
|||
<parent>
|
||||
<groupId>org.apache.activemq.examples.broker</groupId>
|
||||
<artifactId>jms-examples</artifactId>
|
||||
<version>2.7.0-SNAPSHOT</version>
|
||||
<version>2.10.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>netty-openssl</artifactId>
|
||||
|
|
|
@ -12,6 +12,6 @@ To secure your messaging application with Netty's OpenSSL, you need to configure
|
|||
|
||||
In the configuration, the `activemq.example.keystore` is the key store file holding the server's certificate. The `activemq.example.truststore` is the file holding the certificates which the client trusts (i.e. the server's certificate exported from activemq.example.keystore). They are generated via the following commands:
|
||||
|
||||
* `keytool -genkey -keystore activemq.example.keystore -storepass secureexample -keypass secureexample -dname "CN=localhost, OU=Artemis, O=ActiveMQ, L=AMQ, S=AMQ, C=AMQ" -keyalg EC -sigalg SHA256withECDSA
|
||||
* `keytool -export -keystore activemq.example.keystore -file activemq-jks.cer -storepass secureexample
|
||||
* `keytool -import -keystore activemq.example.truststore -file activemq-jks.cer -storepass secureexample -keypass secureexample -noprompt
|
||||
* `keytool -genkey -keystore activemq.example.keystore -storepass secureexample -keypass secureexample -dname "CN=localhost, OU=Artemis, O=ActiveMQ, L=AMQ, S=AMQ, C=AMQ" -keyalg EC -sigalg SHA256withECDSA`
|
||||
* `keytool -export -keystore activemq.example.keystore -file activemq-jks.cer -storepass secureexample`
|
||||
* `keytool -import -keystore activemq.example.truststore -file activemq-jks.cer -storepass secureexample -keypass secureexample -noprompt`
|
||||
|
|
|
@ -77,6 +77,7 @@ under the License.
|
|||
<module>message-group</module>
|
||||
<module>message-group2</module>
|
||||
<module>message-priority</module>
|
||||
<module>netty-openssl</module>
|
||||
<module>no-consumer-buffering</module>
|
||||
<module>paging</module>
|
||||
<module>pre-acknowledge</module>
|
||||
|
@ -130,6 +131,7 @@ under the License.
|
|||
<module>durable-subscription</module>
|
||||
<module>embedded</module>
|
||||
<module>embedded-simple</module>
|
||||
<module>exclusive-queue</module>
|
||||
<module>expiry</module>
|
||||
<module>http-transport</module>
|
||||
<module>interceptor</module>
|
||||
|
@ -148,6 +150,7 @@ under the License.
|
|||
<module>message-group</module>
|
||||
<module>message-group2</module>
|
||||
<module>message-priority</module>
|
||||
<module>netty-openssl</module>
|
||||
<module>no-consumer-buffering</module>
|
||||
<module>paging</module>
|
||||
<module>pre-acknowledge</module>
|
||||
|
@ -165,6 +168,7 @@ under the License.
|
|||
<module>shared-consumer</module>
|
||||
<module>slow-consumer</module>
|
||||
<module>spring-integration</module>
|
||||
<module>spring-boot-integration</module>
|
||||
<module>ssl-enabled</module>
|
||||
<module>ssl-enabled-crl-mqtt</module>
|
||||
<module>ssl-enabled-dual-authentication</module>
|
||||
|
|
|
@ -44,6 +44,32 @@
|
|||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.activemq</groupId>
|
||||
<artifactId>artemis-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>runClient</id>
|
||||
<goals>
|
||||
<goal>runClient</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<clientClass>org.apache.activemq.artemis.jms.example.springboot.Application</clientClass>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.activemq.examples.broker</groupId>
|
||||
<artifactId>spring-boot-integration</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
|
@ -52,39 +78,6 @@
|
|||
</plugins>
|
||||
</build>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>example</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.activemq</groupId>
|
||||
<artifactId>artemis-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>runClient</id>
|
||||
<goals>
|
||||
<goal>runClient</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<clientClass>org.apache.activemq.artemis.jms.example.springboot.Application</clientClass>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.activemq.examples.broker</groupId>
|
||||
<artifactId>spring-boot-integration</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>release</id>
|
||||
<build>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# ActiveMQ Artemis Spring Boot Example
|
||||
|
||||
To run the example, simply type **mvn verify -Pexample** from this directory.
|
||||
To run the example, simply type **mvn verify** from this directory.
|
||||
|
||||
This example shows how to setup and run an embedded broker within a Spring Boot Application relying on [AMQP 1.0 JMS Spring Boot project](https://github.com/amqphub/amqp-10-jms-spring-boot) for configuration.
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
# ActiveMQ Artemis Spring Example
|
||||
|
||||
To run the example, simply type **mvn verify -Pexample** from this directory
|
||||
To run the example, simply type **mvn verify** from this directory
|
||||
|
||||
This examples shows how to setup and run an embedded broker within a Spring ApplicationContext using ActiveMQ Artemis along with ActiveMQ Artemis configuration files.
|
|
@ -122,4 +122,17 @@ under the License.
|
|||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>release</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.vladsch.flexmark</groupId>
|
||||
<artifactId>markdown-page-generator-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
Loading…
Reference in New Issue