初始化
正在显示
61 个修改的文件
包含
70 行增加
和
118 行删除
此文件的差异被折叠,
点击展开。
com.sibu.orderHelper.activeMQ/pom.xml
0 → 100644
1 | <?xml version="1.0"?> | ||
2 | <project | ||
3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
4 | xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
5 | <modelVersion>4.0.0</modelVersion> | ||
6 | <parent> | ||
7 | <groupId>com.sibu.orderHelper</groupId> | ||
8 | <artifactId>com.sibu.orderHelper</artifactId> | ||
9 | <version>0.0.1-SNAPSHOT</version> | ||
10 | </parent> | ||
11 | <groupId>com.sibu.orderHelper.activeMQ</groupId> | ||
12 | <artifactId>com.sibu.orderHelper.activeMQ</artifactId> | ||
13 | <name>com.sibu.orderHelper.activeMQ</name> | ||
14 | <url>http://maven.apache.org</url> | ||
15 | <properties> | ||
16 | <activemq.version>5.5.0</activemq.version> | ||
17 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
18 | </properties> | ||
19 | <dependencies> | ||
20 | <dependency> | ||
21 | <groupId>com.sibu.orderHelper.model</groupId> | ||
22 | <artifactId>com.sibu.orderHelper.model</artifactId> | ||
23 | <version>0.0.1-SNAPSHOT</version> | ||
24 | </dependency> | ||
25 | <dependency> | ||
26 | <groupId>org.apache.activemq</groupId> | ||
27 | <artifactId>activemq-core</artifactId> | ||
28 | <version>${activemq.version}</version> | ||
29 | </dependency> | ||
30 | <dependency> | ||
31 | <groupId>org.apache.activemq</groupId> | ||
32 | <artifactId>activemq-pool</artifactId> | ||
33 | <version>${activemq.version}</version> | ||
34 | </dependency> | ||
35 | <dependency> | ||
36 | <groupId>junit</groupId> | ||
37 | <artifactId>junit</artifactId> | ||
38 | <version>4.10</version> | ||
39 | <scope>test</scope> | ||
40 | </dependency> | ||
41 | </dependencies> | ||
42 | </project> |
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <beans xmlns="http://www.springframework.org/schema/beans" | ||
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" | ||
4 | xsi:schemaLocation="http://www.springframework.org/schema/beans | ||
5 | http://www.springframework.org/schema/beans/spring-beans-2.5.xsd | ||
6 | http://www.springframework.org/schema/context | ||
7 | http://www.springframework.org/schema/context/spring-context-2.5.xsd" | ||
8 | > | ||
9 | <!-- 线程池 --> | ||
10 | <bean id="threadPoolExecutor" class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor"> | ||
11 | <property name="corePoolSize" value="10" /> | ||
12 | <property name="maxPoolSize" value="100"/> | ||
13 | <property name="queueCapacity" value="1000"/> | ||
14 | <property name="rejectedExecutionHandler"> | ||
15 | <bean class="java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy"/> | ||
16 | </property> | ||
17 | </bean> | ||
18 | <!-- 单线程处理消息机制 --> | ||
19 | <bean id="baseProcessor" class="org.com.sibu.orderHelper.activeMQ.listener.BaseMessageListener" abstract="true" /> | ||
20 | |||
21 | <!-- 线程池多线程处理消息机制 --> | ||
22 | <bean id="threadProcessor" class="org.com.sibu.orderHelper.activeMQ.listener.ThreadMessageListener" abstract="true"> | ||
23 | <property name="threadPoolExecutor" ref="threadPoolExecutor"></property> | ||
24 | </bean> | ||
25 | |||
26 | |||
27 | |||
28 | </beans> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <beans xmlns="http://www.springframework.org/schema/beans" | ||
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" | ||
4 | xsi:schemaLocation="http://www.springframework.org/schema/beans | ||
5 | http://www.springframework.org/schema/beans/spring-beans-2.5.xsd | ||
6 | http://www.springframework.org/schema/context | ||
7 | http://www.springframework.org/schema/context/spring-context-2.5.xsd" | ||
8 | > | ||
9 | <context:component-scan base-package="org.com.sibu.orderHelper.activeMQ" /> | ||
10 | |||
11 | |||
12 | |||
13 | <bean id="targetConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory"> | ||
14 | <property name="brokerURL" value="${MQ.url}"/> | ||
15 | <property name="userName" value="${MQ.UserName}"></property> | ||
16 | <property name="password" value="${MQ.Password}"></property> | ||
17 | </bean> | ||
18 | |||
19 | <!-- Spring用于管理真正的ConnectionFactory的ConnectionFactory --> | ||
20 | <bean id="connectionFactory" class="org.springframework.jms.connection.SingleConnectionFactory"> | ||
21 | <!-- 目标ConnectionFactory对应真实的可以产生JMS Connection的ConnectionFactory --> | ||
22 | <property name="targetConnectionFactory" ref="targetConnectionFactory"/> | ||
23 | </bean> | ||
24 | |||
25 | <bean id="jmsTemplate" class="org.springframework.jms.core.JmsTemplate"> | ||
26 | <!-- 这个connectionFactory对应的是我们定义的Spring提供的那个ConnectionFactory对象 --> | ||
27 | <property name="connectionFactory" ref="connectionFactory"/> | ||
28 | </bean> | ||
29 | |||
30 | <bean id="sendMessageHome" class="org.com.sibu.orderHelper.activeMQ.util.SendMessageHone"> | ||
31 | <property name="producerService" ref="producerService"></property> | ||
32 | </bean> | ||
33 | |||
34 | |||
35 | |||
36 | <!-- 操作日志 --> | ||
37 | <bean id="OPERATION_LOG_MESSAGE" class="org.apache.activemq.command.ActiveMQQueue"> | ||
38 | <constructor-arg value="OPERATION_LOG_MESSAGE"/> | ||
39 | </bean> | ||
40 | |||
41 | |||
42 | </beans> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
com.sibu.orderHelper.activeMQ/target/com.sibu.orderHelper.activeMQ-0.0.1-SNAPSHOT.jar
deleted
100644 → 0
此文件类型无法预览
1 | org\com\sibu\orderHelper\activeMQ\exception\MessageException.class | ||
2 | org\com\sibu\orderHelper\activeMQ\util\ProducerService$1.class | ||
3 | org\com\sibu\orderHelper\activeMQ\listener\ThreadMessageListener.class | ||
4 | org\com\sibu\orderHelper\activeMQ\util\ProducerService.class | ||
5 | org\com\sibu\orderHelper\activeMQ\listener\BaseMessageListener.class | ||
6 | org\com\sibu\orderHelper\activeMQ\listener\MessageTask.class | ||
7 | org\com\sibu\orderHelper\activeMQ\listener\Processor.class | ||
8 | org\com\sibu\orderHelper\activeMQ\util\SendMessageHone.class |
1 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\exception\MessageException.java | ||
2 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\util\SendMessageHone.java | ||
3 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\util\ProducerService.java | ||
4 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\listener\BaseMessageListener.java | ||
5 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\listener\MessageTask.java | ||
6 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\listener\ThreadMessageListener.java | ||
7 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\listener\Processor.java |
1 | #Generated by Maven | 1 | #Generated by Maven |
2 | #Wed Apr 04 16:15:52 CST 2018 | 2 | #Wed Apr 04 17:25:54 CST 2018 |
3 | version=0.0.1-SNAPSHOT | 3 | version=0.0.1-SNAPSHOT |
4 | groupId=com.sibu.orderHelper.common | 4 | groupId=com.sibu.orderHelper.common |
5 | artifactId=com.sibu.orderHelper.common | 5 | artifactId=com.sibu.orderHelper.common | ... | ... |
此文件的差异被折叠,
点击展开。
1 | #Generated by Maven | 1 | #Generated by Maven |
2 | #Wed Apr 04 16:16:00 CST 2018 | 2 | #Wed Apr 04 17:26:02 CST 2018 |
3 | version=0.0.1-SNAPSHOT | 3 | version=0.0.1-SNAPSHOT |
4 | groupId=com.sibu.orderHelper.dao | 4 | groupId=com.sibu.orderHelper.dao |
5 | artifactId=com.sibu.orderHelper.dao | 5 | artifactId=com.sibu.orderHelper.dao | ... | ... |
此文件的差异被折叠,
点击展开。
1 | #Generated by Maven | 1 | #Generated by Maven |
2 | #Wed Apr 04 16:16:10 CST 2018 | 2 | #Wed Apr 04 17:26:12 CST 2018 |
3 | version=0.0.1-SNAPSHOT | 3 | version=0.0.1-SNAPSHOT |
4 | groupId=com.sibu.orderHelper.integralMall | 4 | groupId=com.sibu.orderHelper.integralMall |
5 | artifactId=com.sibu.orderHelper.integralMall | 5 | artifactId=com.sibu.orderHelper.integralMall | ... | ... |
此文件的差异被折叠,
点击展开。
1 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\user\TestCookie.java | 1 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\base\ControllerTestBase.java |
2 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\server\TestMain.java | 2 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\img\ImageMarkLogoByIcon.java |
3 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\user\TestErp.java | 3 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\mq\TestSendMessage.java |
4 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\mq\TestSendMessage.java | 4 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\server\TestMain.java |
5 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\user\TestDataSource.java | 5 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\product\TestProduct.java |
6 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\img\ImageMarkLogoByIcon.java | 6 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\user\TestDataSource.java |
7 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\base\TokenGenerate.java | 7 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\user\TestCookie.java |
8 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\server\TestServer.java | 8 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\user\TestErp.java |
9 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\product\TestProduct.java | 9 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\base\TokenGenerate.java |
10 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\base\ControllerTestBase.java | 10 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralMall\src\test\java\com\sibu\orderHelper\integralMall\server\TestServer.java | ... | ... |
1 | #Generated by Maven | 1 | #Generated by Maven |
2 | #Wed Apr 04 16:16:21 CST 2018 | 2 | #Wed Apr 04 17:26:22 CST 2018 |
3 | version=0.0.1-SNAPSHOT | 3 | version=0.0.1-SNAPSHOT |
4 | groupId=com.sibu.orderHelper.integralWeb | 4 | groupId=com.sibu.orderHelper.integralWeb |
5 | artifactId=com.sibu.orderHelper.integralWeb | 5 | artifactId=com.sibu.orderHelper.integralWeb | ... | ... |
此文件的差异被折叠,
点击展开。
1 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralWeb\src\test\java\com\sibu\iworker\TestMain.java | 1 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralWeb\src\test\java\com\sibu\iworker\ControllerTestBase.java |
2 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralWeb\src\test\java\com\sibu\iworker\testWetchatPay.java | 2 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralWeb\src\test\java\com\sibu\iworker\TestMain.java |
3 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralWeb\src\test\java\com\sibu\iworker\IdWorker.java | 3 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralWeb\src\test\java\com\sibu\iworker\testWetchatPay.java |
4 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.integralWeb\src\test\java\com\sibu\iworker\ControllerTestBase.java | 4 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.integralWeb\src\test\java\com\sibu\iworker\IdWorker.java | ... | ... |
此文件太大,无法显示。
1 | #Generated by Maven | 1 | #Generated by Maven |
2 | #Wed Apr 04 16:16:28 CST 2018 | 2 | #Wed Apr 04 17:26:29 CST 2018 |
3 | version=0.0.1-SNAPSHOT | 3 | version=0.0.1-SNAPSHOT |
4 | groupId=com.sibu.orderHelper.logService | 4 | groupId=com.sibu.orderHelper.logService |
5 | artifactId=com.sibu.orderHelper.logService | 5 | artifactId=com.sibu.orderHelper.logService | ... | ... |
1 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.logService\src\main\java\org\com\sibu\orderHelper\logService\messageListener\LoggerMessageListener.java | 1 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.logService\src\main\java\org\com\sibu\orderHelper\logService\messageListener\LoggerMessageListener.java |
2 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.logService\src\main\java\org\com\sibu\orderHelper\logService\LogServiceMain.java | 2 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.logService\src\main\java\org\com\sibu\orderHelper\logService\LogServiceMain.java |
3 | D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.logService\src\main\java\org\com\sibu\orderHelper\logService\messageListener\BaseLoggerMessageListener.java | 3 | D:\caspar\project\vcoin\src\master\a\com.sibu.orderHelper.logService\src\main\java\org\com\sibu\orderHelper\logService\messageListener\BaseLoggerMessageListener.java | ... | ... |
1 | #Generated by Maven | 1 | #Generated by Maven |
2 | #Wed Apr 04 16:15:58 CST 2018 | 2 | #Wed Apr 04 17:26:00 CST 2018 |
3 | version=0.0.1-SNAPSHOT | 3 | version=0.0.1-SNAPSHOT |
4 | groupId=com.sibu.orderHelper.model | 4 | groupId=com.sibu.orderHelper.model |
5 | artifactId=com.sibu.orderHelper.model | 5 | artifactId=com.sibu.orderHelper.model | ... | ... |
此文件的差异太大,无法显示。
1 | #Generated by Maven | 1 | #Generated by Maven |
2 | #Wed Apr 04 16:16:06 CST 2018 | 2 | #Wed Apr 04 17:26:08 CST 2018 |
3 | version=0.0.1-SNAPSHOT | 3 | version=0.0.1-SNAPSHOT |
4 | groupId=com.sibu.orderHelper.service | 4 | groupId=com.sibu.orderHelper.service |
5 | artifactId=com.sibu.orderHelper.service | 5 | artifactId=com.sibu.orderHelper.service | ... | ... |
此文件的差异被折叠,
点击展开。
-
请 注册 或 登录 后发表评论