2014-10-31 06:20:28 -04: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>
|
|
|
|
|
|
|
|
<parent>
|
2014-11-11 07:46:32 -05:00
|
|
|
<groupId>org.apache.activemq6.examples.jms</groupId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<artifactId>jms-examples</artifactId>
|
2014-11-11 07:46:32 -05:00
|
|
|
<version>6.0.0-SNAPSHOT</version>
|
2014-10-31 06:20:28 -04:00
|
|
|
</parent>
|
|
|
|
|
2014-11-11 07:46:32 -05:00
|
|
|
<artifactId>activemq6-jms-replicated-transaction-failover-example</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<packaging>jar</packaging>
|
2014-11-11 07:46:32 -05:00
|
|
|
<name>ActiveMQ6 JMS Replicated Transaction Failover Example</name>
|
2014-10-31 06:20:28 -04:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2014-11-11 07:46:32 -05:00
|
|
|
<groupId>org.apache.activemq6.examples.jms</groupId>
|
|
|
|
<artifactId>activemq6-jms-examples-common</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.spec.javax.jms</groupId>
|
|
|
|
<artifactId>jboss-jms-api_2.0_spec</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2014-11-11 07:46:32 -05:00
|
|
|
<groupId>org.apache.activemq6</groupId>
|
|
|
|
<artifactId>activemq6-maven-plugin</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>start0</id>
|
|
|
|
<goals>
|
|
|
|
<goal>start</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<hornetqConfigurationDir>${basedir}/target/classes/hornetq/server0</hornetqConfigurationDir>
|
|
|
|
<systemProperties>
|
|
|
|
<property>
|
|
|
|
<name>build.directory</name>
|
|
|
|
<value>${basedir}/target/</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>udp-address</name>
|
|
|
|
<value>${udp-address}</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>start1</id>
|
|
|
|
<goals>
|
|
|
|
<goal>start</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<jndiPort>1199</jndiPort>
|
|
|
|
<jndiRmiPort>1198</jndiRmiPort>
|
|
|
|
<hornetqConfigurationDir>${basedir}/target/classes/hornetq/server1</hornetqConfigurationDir>
|
|
|
|
<systemProperties>
|
|
|
|
<property>
|
|
|
|
<name>build.directory</name>
|
|
|
|
<value>${basedir}/target/</value>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>udp-address</name>
|
|
|
|
<value>${udp-address}</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
|
|
|
<fork>true</fork>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>runClient</id>
|
|
|
|
<goals>
|
|
|
|
<goal>runClient</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2014-11-11 10:40:01 -05:00
|
|
|
<clientClass>org.apache.activemq6.jms.example.ReplicatedTransactionFailoverExample</clientClass>
|
2014-10-31 06:20:28 -04:00
|
|
|
<args>
|
|
|
|
<param>jnp://localhost:1099</param>
|
|
|
|
<param>jnp://localhost:1199</param>
|
|
|
|
</args>
|
|
|
|
<systemProperties>
|
|
|
|
<property>
|
|
|
|
<name>exampleConfigDir</name>
|
|
|
|
<value>${basedir}/target/classes/hornetq</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop0</id>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<hornetqConfigurationDir>${basedir}/target/classes/hornetq/server0</hornetqConfigurationDir>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop1</id>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<hornetqConfigurationDir>${basedir}/target/classes/hornetq/server1</hornetqConfigurationDir>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2014-11-11 07:46:32 -05:00
|
|
|
<groupId>org.apache.activemq6.examples.jms</groupId>
|
|
|
|
<artifactId>activemq6-jms-replicated-transaction-failover-example</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-11-11 07:46:32 -05:00
|
|
|
<groupId>org.apache.activemq6</groupId>
|
|
|
|
<artifactId>activemq6-core-client</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-11-11 07:46:32 -05:00
|
|
|
<groupId>org.apache.activemq6</groupId>
|
|
|
|
<artifactId>activemq6-server</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-11-11 07:46:32 -05:00
|
|
|
<groupId>org.apache.activemq6</groupId>
|
|
|
|
<artifactId>activemq6-jms-client</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-11-11 07:46:32 -05:00
|
|
|
<groupId>org.apache.activemq6</groupId>
|
|
|
|
<artifactId>activemq6-jms-server</artifactId>
|
2014-10-31 06:20:28 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
<version>${netty.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.javaee</groupId>
|
|
|
|
<artifactId>jboss-jms-api</artifactId>
|
|
|
|
<version>1.1.0.GA</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.naming</groupId>
|
|
|
|
<artifactId>jnpserver</artifactId>
|
|
|
|
<version>5.0.3.GA</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<waitOnStart>false</waitOnStart>
|
|
|
|
<systemProperties>
|
|
|
|
<property>
|
|
|
|
<name>build.directory</name>
|
|
|
|
<value>${basedir}/target/</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|