This is an automated email from the ASF dual-hosted git repository. veithen pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git
The following commit(s) were added to refs/heads/master by this push: new 3d05e43 Update ActiveMQ 3d05e43 is described below commit 3d05e4308d2cd7be27bf6b8f4e2dbf0a8d30acb2 Author: Andreas Veithen <andreas.veit...@gmail.com> AuthorDate: Mon Dec 28 17:47:24 2020 +0000 Update ActiveMQ --- modules/samples/transport/jms-sample/jmsService/pom.xml | 14 ++++---------- modules/transport/jms/pom.xml | 12 ++---------- .../axis2/transport/jms/ActiveMQTestEnvironment.java | 4 +--- 3 files changed, 7 insertions(+), 23 deletions(-) diff --git a/modules/samples/transport/jms-sample/jmsService/pom.xml b/modules/samples/transport/jms-sample/jmsService/pom.xml index ebadaa9..bac6918 100644 --- a/modules/samples/transport/jms-sample/jmsService/pom.xml +++ b/modules/samples/transport/jms-sample/jmsService/pom.xml @@ -12,8 +12,8 @@ <plugins> <plugin> <groupId>org.apache.activemq.tooling</groupId> - <artifactId>maven-activemq-plugin</artifactId> - <version>5.1.0</version> + <artifactId>activemq-maven-plugin</artifactId> + <version>5.16.0</version> <configuration> <fork>true</fork> </configuration> @@ -30,14 +30,8 @@ </dependency> <dependency> <groupId>org.apache.activemq</groupId> - <artifactId>activemq-core</artifactId> - <version>5.1.0</version> - <exclusions> - <exclusion> - <groupId>javax.activation</groupId> - <artifactId>activation</artifactId> - </exclusion> - </exclusions> + <artifactId>activemq-broker</artifactId> + <version>5.16.0</version> </dependency> <dependency> <groupId>commons-io</groupId> diff --git a/modules/transport/jms/pom.xml b/modules/transport/jms/pom.xml index 64a2376..93c22bd 100644 --- a/modules/transport/jms/pom.xml +++ b/modules/transport/jms/pom.xml @@ -137,16 +137,8 @@ </dependency> <dependency> <groupId>org.apache.activemq</groupId> - <artifactId>activemq-core</artifactId> - <version>5.1.0</version> - <scope>test</scope> - <exclusions> - <!-- We want to choose the JAF implementation ourselves --> - <exclusion> - <groupId>javax.activation</groupId> - <artifactId>activation</artifactId> - </exclusion> - </exclusions> + <artifactId>activemq-broker</artifactId> + <version>5.16.0</version> </dependency> <dependency> diff --git a/modules/transport/jms/src/test/java/org/apache/axis2/transport/jms/ActiveMQTestEnvironment.java b/modules/transport/jms/src/test/java/org/apache/axis2/transport/jms/ActiveMQTestEnvironment.java index c7feb6b..4d6f620 100644 --- a/modules/transport/jms/src/test/java/org/apache/axis2/transport/jms/ActiveMQTestEnvironment.java +++ b/modules/transport/jms/src/test/java/org/apache/axis2/transport/jms/ActiveMQTestEnvironment.java @@ -27,7 +27,6 @@ import org.apache.activemq.ActiveMQConnectionFactory; import org.apache.activemq.broker.BrokerService; import org.apache.activemq.command.ActiveMQQueue; import org.apache.activemq.command.ActiveMQTopic; -import org.apache.activemq.store.memory.MemoryPersistenceAdapter; import org.apache.axis2.transport.testkit.name.Name; import org.apache.axis2.transport.testkit.tests.Setup; import org.apache.axis2.transport.testkit.tests.TearDown; @@ -43,8 +42,7 @@ public class ActiveMQTestEnvironment extends JMSTestEnvironment { private void setUp() throws Exception { broker = new BrokerService(); broker.setBrokerName(BROKER_NAME); - broker.setDataDirectory("target/activemq-data"); - broker.setPersistenceAdapter(new MemoryPersistenceAdapter()); + broker.setPersistent(false); broker.start(); connectionFactory = new ActiveMQConnectionFactory("vm://" + BROKER_NAME); }