工业级运维app手机api
fengxiang
2017-10-25 3ac50e5eb9e1813d1c6b9e100d56adab7b2eb8e3
定时任务存在异常,暂时注销。mq通道修正。
3 files modified
29 ■■■■■ changed files
pom.xml 25 ●●●●● patch | view | raw | blame | history
src/main/resources/application.xml 2 ●●●●● patch | view | raw | blame | history
src/main/resources/rabbitmq.xml 2 ●●● patch | view | raw | blame | history
pom.xml
@@ -188,5 +188,30 @@
  <build>
    <finalName>task</finalName>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <skip>true</skip>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-war-plugin</artifactId>
                <version>3.0.0</version>
                <configuration>
                    <webappDirectory>${basedir}/src/main/webapp</webappDirectory>
                    <warSourceDirectory>${basedir}/src/main/webapp</warSourceDirectory>
                </configuration>
            </plugin>
        </plugins>
  </build>
</project>
src/main/resources/application.xml
@@ -48,5 +48,7 @@
    <import resource="database.xml"/>
    <import resource="rabbitmq.xml"/>
    <!--
    <import resource="quartz.xml"/>
     -->
</beans>
src/main/resources/rabbitmq.xml
@@ -17,7 +17,7 @@
    <rabbit:admin connection-factory="rabbitConnectionFactory"/>
    <rabbit:queue  name="monitor" durable="false" exclusive="false" auto-delete="false"    />
    <rabbit:queue  name="monitors_storage_data" durable="false" exclusive="false" auto-delete="false"    />
    <!--<bean id="amqpMsgListener" class="com.moral.monitor.listener.MonitorListener"/>-->