Apache Camel读取配置文件
来源:互联网 发布:淘宝港澳台运费设置 编辑:程序博客网 时间:2024/06/05 23:55
方法一
<camelContext id="camelContext" xmlns="http://camel.apache.org/schema/spring"> <propertyPlaceholder id="properties" location="file:e:/tmp/http.cfg" /> <route> <from uri="direct://start1" /> <log message="java.runtime.version : {{java.runtime.version}}" /> <log message="this is http.address : {{http.address}}" /> <log message="this is http.context.path : {{http.context.path}}" /> </route> </camelContext>
方法二
<bean id="properties" class="org.apache.camel.component.properties.PropertiesComponent"> <property name="location" value="file:e:/tmp/http.cfg"/> </bean>
阅读全文
0 0
- Apache Camel读取配置文件
- Apache Camel读取配置文件
- Apache Camel 中camel配置文件引入其他xml文件介绍--将camel配置文件拆分后并引用
- Apache Camel
- Apache Camel
- Apache Camel 介绍
- apache camel removeEndpoints
- Apache Camel(1)
- apache Camel学习
- Apache Camel简介
- apache Camel 文档
- apache camel jetty http
- Apache Camel异常处理
- Apache Camel http4 blueprint
- 【Java.Apache.Camel】
- 什么时候使用Apache camel
- Apache Camel 基本概念理解
- camel读取配置信息
- Mac下查找占用某个端口的应用
- Word产品需求文档已经过时了?
- 【Android】Error[*,*]Could not find method android() for arguments [……]
- vegas怎么渲染成mov格式?
- 性能测试之-集合点的重新理解
- Apache Camel读取配置文件
- mac运行jmeter
- 第二周-项目0-宣告主权
- js基础-DOM
- leetcode 128. Longest Consecutive Sequence
- 高西奇,MIMO Multichannel Beamforming
- 简单的Redis学习
- CSDN博客排名20000以后的用户怎么查询具体排名
- 配置maven环境变量出错