From 41055caba1d84f84dbf98c57db7e362fb970995d Mon Sep 17 00:00:00 2001
From: shuzheng <469741414@qq.com>
Date: Fri, 25 Nov 2016 14:42:44 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=20activemq-pool?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/resources/applicationContext-activemq.xml | 8 ++------
.../main/resources/applicationContext-threadpool.xml | 10 +++++++++-
.../com/zheng/cms/jms/defaultQueueMessageListener.java | 1 -
.../src/main/resources/applicationContext-activemq.xml | 5 +----
.../main/resources/applicationContext-threadpool.xml | 10 +++++++++-
common/pom.xml | 10 ----------
6 files changed, 21 insertions(+), 23 deletions(-)
diff --git a/cms/cms-mq/src/main/resources/applicationContext-activemq.xml b/cms/cms-mq/src/main/resources/applicationContext-activemq.xml
index ecaae56a..8e5b2627 100644
--- a/cms/cms-mq/src/main/resources/applicationContext-activemq.xml
+++ b/cms/cms-mq/src/main/resources/applicationContext-activemq.xml
@@ -9,13 +9,9 @@
-
-
-
-
-
+
@@ -27,7 +23,7 @@
-
+
diff --git a/cms/cms-mq/src/main/resources/applicationContext-threadpool.xml b/cms/cms-mq/src/main/resources/applicationContext-threadpool.xml
index b936e10c..daed0d1d 100644
--- a/cms/cms-mq/src/main/resources/applicationContext-threadpool.xml
+++ b/cms/cms-mq/src/main/resources/applicationContext-threadpool.xml
@@ -10,9 +10,17 @@
-
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/cms/cms-web/src/main/java/com/zheng/cms/jms/defaultQueueMessageListener.java b/cms/cms-web/src/main/java/com/zheng/cms/jms/defaultQueueMessageListener.java
index d88d6f9a..7868bd7b 100644
--- a/cms/cms-web/src/main/java/com/zheng/cms/jms/defaultQueueMessageListener.java
+++ b/cms/cms-web/src/main/java/com/zheng/cms/jms/defaultQueueMessageListener.java
@@ -5,7 +5,6 @@ import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
-import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageListener;
import javax.jms.TextMessage;
diff --git a/cms/cms-web/src/main/resources/applicationContext-activemq.xml b/cms/cms-web/src/main/resources/applicationContext-activemq.xml
index b79bb363..dd2ece35 100644
--- a/cms/cms-web/src/main/resources/applicationContext-activemq.xml
+++ b/cms/cms-web/src/main/resources/applicationContext-activemq.xml
@@ -9,14 +9,11 @@
-
-
-
-
+
diff --git a/cms/cms-web/src/main/resources/applicationContext-threadpool.xml b/cms/cms-web/src/main/resources/applicationContext-threadpool.xml
index b936e10c..daed0d1d 100644
--- a/cms/cms-web/src/main/resources/applicationContext-threadpool.xml
+++ b/cms/cms-web/src/main/resources/applicationContext-threadpool.xml
@@ -10,9 +10,17 @@
-
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/common/pom.xml b/common/pom.xml
index 4526350a..9b4e7534 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -97,11 +97,6 @@
${mybatis-ehcache.version}
-
- commons-dbcp
- commons-dbcp
- 1.4
-
mysql
mysql-connector-java
@@ -183,11 +178,6 @@
activemq-core
5.7.0
-
- org.apache.activemq
- activemq-pool
- 5.7.0
-
javax.servlet