edf1afdd 陈志杭(后端)

初始化

1 个父辈 a234a46b
正在显示 61 个修改的文件 包含 70 行增加118 行删除
<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.sibu.orderHelper</groupId>
<artifactId>com.sibu.orderHelper</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>com.sibu.orderHelper.activeMQ</groupId>
<artifactId>com.sibu.orderHelper.activeMQ</artifactId>
<name>com.sibu.orderHelper.activeMQ</name>
<url>http://maven.apache.org</url>
<properties>
<activemq.version>5.5.0</activemq.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>com.sibu.orderHelper.model</groupId>
<artifactId>com.sibu.orderHelper.model</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-core</artifactId>
<version>${activemq.version}</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-pool</artifactId>
<version>${activemq.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd"
>
<!-- 线程池 -->
<bean id="threadPoolExecutor" class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
<property name="corePoolSize" value="10" />
<property name="maxPoolSize" value="100"/>
<property name="queueCapacity" value="1000"/>
<property name="rejectedExecutionHandler">
<bean class="java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy"/>
</property>
</bean>
<!-- 单线程处理消息机制 -->
<bean id="baseProcessor" class="org.com.sibu.orderHelper.activeMQ.listener.BaseMessageListener" abstract="true" />
<!-- 线程池多线程处理消息机制 -->
<bean id="threadProcessor" class="org.com.sibu.orderHelper.activeMQ.listener.ThreadMessageListener" abstract="true">
<property name="threadPoolExecutor" ref="threadPoolExecutor"></property>
</bean>
</beans>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd"
>
<context:component-scan base-package="org.com.sibu.orderHelper.activeMQ" />
<bean id="targetConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="${MQ.url}"/>
<property name="userName" value="${MQ.UserName}"></property>
<property name="password" value="${MQ.Password}"></property>
</bean>
<!-- Spring用于管理真正的ConnectionFactory的ConnectionFactory -->
<bean id="connectionFactory" class="org.springframework.jms.connection.SingleConnectionFactory">
<!-- 目标ConnectionFactory对应真实的可以产生JMS Connection的ConnectionFactory -->
<property name="targetConnectionFactory" ref="targetConnectionFactory"/>
</bean>
<bean id="jmsTemplate" class="org.springframework.jms.core.JmsTemplate">
<!-- 这个connectionFactory对应的是我们定义的Spring提供的那个ConnectionFactory对象 -->
<property name="connectionFactory" ref="connectionFactory"/>
</bean>
<bean id="sendMessageHome" class="org.com.sibu.orderHelper.activeMQ.util.SendMessageHone">
<property name="producerService" ref="producerService"></property>
</bean>
<!-- 操作日志 -->
<bean id="OPERATION_LOG_MESSAGE" class="org.apache.activemq.command.ActiveMQQueue">
<constructor-arg value="OPERATION_LOG_MESSAGE"/>
</bean>
</beans>
\ No newline at end of file
#Generated by Maven
#Wed Apr 04 16:16:01 CST 2018
version=0.0.1-SNAPSHOT
groupId=com.sibu.orderHelper.activeMQ
artifactId=com.sibu.orderHelper.activeMQ
org\com\sibu\orderHelper\activeMQ\exception\MessageException.class
org\com\sibu\orderHelper\activeMQ\util\ProducerService$1.class
org\com\sibu\orderHelper\activeMQ\listener\ThreadMessageListener.class
org\com\sibu\orderHelper\activeMQ\util\ProducerService.class
org\com\sibu\orderHelper\activeMQ\listener\BaseMessageListener.class
org\com\sibu\orderHelper\activeMQ\listener\MessageTask.class
org\com\sibu\orderHelper\activeMQ\listener\Processor.class
org\com\sibu\orderHelper\activeMQ\util\SendMessageHone.class
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\exception\MessageException.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\util\SendMessageHone.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\util\ProducerService.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\listener\BaseMessageListener.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\listener\MessageTask.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\listener\ThreadMessageListener.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\listener\Processor.java
#Generated by Maven
#Wed Apr 04 16:15:52 CST 2018
#Wed Apr 04 17:25:54 CST 2018
version=0.0.1-SNAPSHOT
groupId=com.sibu.orderHelper.common
artifactId=com.sibu.orderHelper.common
......
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.common\src\test\java\org\com\sibu\orderHelper\common\AppTest.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.common\src\test\java\org\com\sibu\orderHelper\common\AppTest.java
......
#Generated by Maven
#Wed Apr 04 16:16:00 CST 2018
#Wed Apr 04 17:26:02 CST 2018
version=0.0.1-SNAPSHOT
groupId=com.sibu.orderHelper.dao
artifactId=com.sibu.orderHelper.dao
......
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.dao\src\test\java\org\com\sibu\orderHelper\dao\AppTest.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.dao\src\test\java\org\com\sibu\orderHelper\dao\AppTest.java
......
#Generated by Maven
#Wed Apr 04 16:16:10 CST 2018
#Wed Apr 04 17:26:12 CST 2018
version=0.0.1-SNAPSHOT
groupId=com.sibu.orderHelper.integralMall
artifactId=com.sibu.orderHelper.integralMall
......
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\user\TestCookie.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\server\TestMain.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\user\TestErp.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\mq\TestSendMessage.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\user\TestDataSource.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\img\ImageMarkLogoByIcon.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\base\TokenGenerate.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\server\TestServer.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\product\TestProduct.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\base\ControllerTestBase.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\base\ControllerTestBase.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\img\ImageMarkLogoByIcon.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\mq\TestSendMessage.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\server\TestMain.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\product\TestProduct.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\user\TestDataSource.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\user\TestCookie.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\user\TestErp.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\base\TokenGenerate.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\server\TestServer.java
......
#Generated by Maven
#Wed Apr 04 16:16:21 CST 2018
#Wed Apr 04 17:26:22 CST 2018
version=0.0.1-SNAPSHOT
groupId=com.sibu.orderHelper.integralWeb
artifactId=com.sibu.orderHelper.integralWeb
......
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralWeb\src\test\java\com\sibu\iworker\TestMain.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralWeb\src\test\java\com\sibu\iworker\testWetchatPay.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralWeb\src\test\java\com\sibu\iworker\IdWorker.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralWeb\src\test\java\com\sibu\iworker\ControllerTestBase.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralWeb\src\test\java\com\sibu\iworker\ControllerTestBase.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralWeb\src\test\java\com\sibu\iworker\TestMain.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralWeb\src\test\java\com\sibu\iworker\testWetchatPay.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralWeb\src\test\java\com\sibu\iworker\IdWorker.java
......
#Generated by Maven
#Wed Apr 04 16:16:28 CST 2018
#Wed Apr 04 17:26:29 CST 2018
version=0.0.1-SNAPSHOT
groupId=com.sibu.orderHelper.logService
artifactId=com.sibu.orderHelper.logService
......
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.logService\src\main\java\org\com\sibu\orderHelper\logService\messageListener\LoggerMessageListener.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.logService\src\main\java\org\com\sibu\orderHelper\logService\LogServiceMain.java
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.logService\src\main\java\org\com\sibu\orderHelper\logService\messageListener\BaseLoggerMessageListener.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.logService\src\main\java\org\com\sibu\orderHelper\logService\messageListener\LoggerMessageListener.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.logService\src\main\java\org\com\sibu\orderHelper\logService\LogServiceMain.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.logService\src\main\java\org\com\sibu\orderHelper\logService\messageListener\BaseLoggerMessageListener.java
......
#Generated by Maven
#Wed Apr 04 16:15:58 CST 2018
#Wed Apr 04 17:26:00 CST 2018
version=0.0.1-SNAPSHOT
groupId=com.sibu.orderHelper.model
artifactId=com.sibu.orderHelper.model
......
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.model\src\test\java\org\com\sibu\orderHelper\model\AppTest.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.model\src\test\java\org\com\sibu\orderHelper\model\AppTest.java
......
#Generated by Maven
#Wed Apr 04 16:16:06 CST 2018
#Wed Apr 04 17:26:08 CST 2018
version=0.0.1-SNAPSHOT
groupId=com.sibu.orderHelper.service
artifactId=com.sibu.orderHelper.service
......
D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.service\src\test\java\org\com\sibu\orderHelper\service\AppTest.java
D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.service\src\test\java\org\com\sibu\orderHelper\service\AppTest.java
......