Camel-MongoDb
来源:互联网 发布:淘宝全球购官网 编辑:程序博客网 时间:2024/06/06 00:53
<?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsdhttp://www.springframework.org/schema/beans"> <bean id="mydb" class="com.mongodb.Mongo"> <argument> <bean class="com.mongodb.MongoURI"> <argument index="0" value="mongodb://admin:admin@localhost:27017/mydb" /> </bean> </argument></bean> <camelContext xmlns="http://camel.apache.org/schema/blueprint"> <route> <from uri="file:activemq/input"/> <log message="This is my mongodb ${body}" /><to uri="mongodb:mydb?database=mydb&collection=user&operation=insert" /><log message="This is my mongodb end ${body}" /> </route> </camelContext> </blueprint>
项目中用到Camel-MongoDB,以下是同事研究的一个Demo:
- Camel-MongoDb
- Camel
- Camel
- Camel
- camel 基本概念
- camel-file
- camel components
- camel Intercept
- AdviceWith camel
- Camel summary
- Camel-blueprint
- Apache Camel
- camel笔记
- camel-exchange
- camel-Transform
- camel-JAXB
- camel-bean
- camel-SimpleRegistry
- apache camel 在诗篇建站系统的应用
- 在一个字符串中找到第一个只出现一次的字符(17)
- Camel的数据转换
- DBA日常工作职责
- mongodb入门-2 文档、集合、数据库
- Camel-MongoDb
- hdu 4548 美素数 金山居
- setTimeStamp()与setDate()区别 如何将java中Date存入mysql中的datetime中,字符串怎么转换为日期类型
- 下拉菜单点击实现连接跳转的js代码
- 约瑟夫环问题
- Opening multiple databases with SQLite
- 系统引导文件之 boot.ini
- PKU-2243 Knight Moves (单BFS、双BFS)
- 一篇关于ReadWriteLock不错的文章