2014-11-10 11:14:12 -05:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2014-11-17 09:23:06 -05:00
|
|
|
<artifactId>activemq-jms-soak-example</artifactId>
|
2014-11-10 11:14:12 -05:00
|
|
|
<packaging>jar</packaging>
|
2014-11-11 07:46:32 -05:00
|
|
|
<name>ActiveMQ6 Soak Normal Example</name>
|
2014-11-10 11:14:12 -05:00
|
|
|
|
|
|
|
<parent>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq.example.soak</groupId>
|
2014-11-10 11:14:12 -05:00
|
|
|
<artifactId>soak-examples</artifactId>
|
2014-11-11 07:46:32 -05:00
|
|
|
<version>6.0.0-SNAPSHOT</version>
|
2014-11-10 11:14:12 -05:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-jms-client</artifactId>
|
2014-11-10 11:14:12 -05:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<server.dir>${basedir}/server0/</server.dir>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-maven-plugin</artifactId>
|
2014-11-10 11:14:12 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq.example.soak</groupId>
|
|
|
|
<artifactId>activemq-jms-soak-example</artifactId>
|
2014-11-10 11:14:12 -05:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-server</artifactId>
|
2014-11-10 11:14:12 -05:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-jms-server</artifactId>
|
2014-11-10 11:14:12 -05:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
<version>${netty.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<waitOnStart>false</waitOnStart>
|
|
|
|
<systemProperties>
|
|
|
|
<property>
|
|
|
|
<name>build.directory</name>
|
|
|
|
<value>${basedir}/target/</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>local</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-maven-plugin</artifactId>
|
2014-11-10 11:14:12 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>start</id>
|
|
|
|
<goals>
|
|
|
|
<goal>start</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<fork>true</fork>
|
2014-12-08 23:31:39 -05:00
|
|
|
<configurationDir>${server.dir}</configurationDir>
|
2014-11-10 11:14:12 -05:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>runConsumer</id>
|
|
|
|
<goals>
|
|
|
|
<goal>runClient</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2014-11-17 09:23:06 -05:00
|
|
|
<clientClass>org.apache.activemq.jms.soak.example.SoakReceiver</clientClass>
|
2014-11-10 11:14:12 -05:00
|
|
|
<args>
|
2014-12-03 09:50:16 -05:00
|
|
|
<param>tcp://localhost:5445</param>
|
2014-11-10 11:14:12 -05:00
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>runProducer</id>
|
|
|
|
<goals>
|
|
|
|
<goal>runClient</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2014-11-17 09:23:06 -05:00
|
|
|
<clientClass>org.apache.activemq.jms.soak.example.SoakSender</clientClass>
|
2014-11-10 11:14:12 -05:00
|
|
|
<args>
|
2014-12-03 09:50:16 -05:00
|
|
|
<param>tcp://localhost:5445</param>
|
2014-11-10 11:14:12 -05:00
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop</id>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2014-12-08 23:31:39 -05:00
|
|
|
<configurationDir>${server.dir}</configurationDir>
|
2014-11-10 11:14:12 -05:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>remote</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-maven-plugin</artifactId>
|
2014-11-10 11:14:12 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>runConsumer</id>
|
|
|
|
<goals>
|
|
|
|
<goal>runClient</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2014-11-17 09:23:06 -05:00
|
|
|
<clientClass>org.apache.activemq.jms.soak.example.SoakReceiver</clientClass>
|
2014-11-10 11:14:12 -05:00
|
|
|
<args>
|
2014-12-03 09:50:16 -05:00
|
|
|
<param>tcp://localhost:5445</param>
|
2014-11-10 11:14:12 -05:00
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>runProducer</id>
|
|
|
|
<goals>
|
|
|
|
<goal>runClient</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2014-11-17 09:23:06 -05:00
|
|
|
<clientClass>org.apache.activemq.jms.soak.example.SoakSender</clientClass>
|
2014-11-10 11:14:12 -05:00
|
|
|
<args>
|
2014-12-03 09:50:16 -05:00
|
|
|
<param>tcp://localhost:5445</param>
|
2014-11-10 11:14:12 -05:00
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>server</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2014-11-17 09:23:06 -05:00
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-maven-plugin</artifactId>
|
2014-11-10 11:14:12 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>start</id>
|
|
|
|
<goals>
|
|
|
|
<goal>start</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2014-12-08 23:31:39 -05:00
|
|
|
<configurationDir>${server.dir}</configurationDir>
|
2014-11-10 11:14:12 -05:00
|
|
|
<fork>true</fork>
|
|
|
|
<waitOnStart>true</waitOnStart>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
</project>
|