smart-device-kafka-consumer.xml
2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd">
<bean id="orderIssueConsumer" class="cn.com.glsx.smartkafka.modules.queue.OrderIssueConsumer"
init-method="init" destroy-method="destroy">
<property name="consumerConfig" ref="consumerPropertiesnew" />
<property name="topic" value="${topic.orderIssueConsumer}" />
<property name="nThreads" value="${consumer.nThreads}" />
</bean>
<bean id="gpsIgnitionConsumer" class="cn.com.glsx.smartkafka.modules.queue.GpsIgnitionConsumer"
init-method="init" destroy-method="destroy">
<property name="consumerConfig" ref="consumerConfig" />
<property name="topic" value="${topic.gpsIgnitionConsumer}" />
<property name="nThreads" value="${consumer.nThreads}" />
</bean>
<bean id="gpsFlameOutConsumer" class="cn.com.glsx.smartkafka.modules.queue.GPSFlameOutConsumer"
init-method="init" destroy-method="destroy">
<property name="consumerConfig" ref="consumerConfig" />
<property name="topic" value="${topic.gpsFlameOutConsumer}" />
<property name="nThreads" value="${consumer.nThreads}" />
</bean>
<bean id="edrIgnitionConsumer" class="cn.com.glsx.smartkafka.modules.queue.EdrIgnitionConsumer"
init-method="init" destroy-method="destroy">
<property name="consumerConfig" ref="consumerPropertiesOld" />
<property name="topic" value="${topic.edrIgnitionConsumer}" />
<property name="nThreads" value="${consumer.nThreads}" />
</bean>
<bean id="leaveHomeFlagConsumer" class="cn.com.glsx.smartkafka.modules.queue.LeaveHomeFlagConsumer"
init-method="init" destroy-method="destroy">
<property name="consumerConfig" ref="consumerConfig" />
<property name="topic" value="${topic.leaveHomeFlagConsumer}" />
<property name="nThreads" value="${consumer.nThreads}" />
</bean>
<bean id="edrFlameOutConsumer" class="cn.com.glsx.smartkafka.modules.queue.EdrFlameOutConsumer"
init-method="init" destroy-method="destroy">
<property name="consumerConfig" ref="consumerPropertiesOld" />
<property name="topic" value="${topic.edrFlameOutConsumer}" />
<property name="nThreads" value="${consumer.nThreads}" />
</bean>
</beans>