tomcat+activemq整合(6)

发布时间:2021-06-05

Tomcat与ActiveMQ的整合文档

**

** /enterprise-integration-patterns.html

-->

<camelContext id="camel" xmlns="/camel/schema/spring">

<!-- You can use a <package> element for each root package to search for Java routes -->

<package>org.foo.bar</package>

<!-- You can use Spring XML syntax to define the routes here using the <route> element -->

<route>

<from uri="activemq:example.A"/>

<to uri="activemq:example.B"/>

</route>

</camelContext>

<!-- Uncomment to create a command agent to respond to message based admin commands on the ActiveMQ.Agent topic -->

<!--

<commandAgent xmlns="/schema/core" brokerUrl="vm://localhost"/>

-->

<!-- An embedded servlet engine for serving up the Admin console -->

<jetty xmlns="/schemas/jetty/1.0">

<connectors>

<nioConnector port="8161"/>

</connectors>

<handlers>

<webAppContext contextPath="/admin" resourceBase="${activemq.base}/webapps/admin" logUrlOnStart="true"/>

<webAppContext contextPath="/demo" resourceBase="${activemq.base}/webapps/demo" logUrlOnStart="true"/>

<webAppContext contextPath="/fileserver" resourceBase="${activemq.base}/webapps/fileserver" logUrlOnStart="true"/>

</handlers>

</jetty>

<!-- This xbean configuration file supports all the standard spring xml configuration options -->

tomcat+activemq整合(6).doc 将本文的Word文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219