繁体   English   中英

使用Apache Camel从EMS队列中读取xml文件

[英]Read an xml file from EMS queue using Apache Camel

见下面的代码

public class VerifyModule extends RouteBuilder {

   public void configure() {
         from("EMS_QUEUE_ADDRESS")
            .to(localfile);
   }
}

1)这是从EMS队列读取的正确方法吗? 请有人给我一个工作的例子吗?

2)我如何实例化和使用此模块,以便从EMS队列中读取并填充localfile.txt

我知道这是Tibco EMS ..如果是这样,您需要连接一个jms组件并执行

参考: http : //camel.apache.org/jms.html

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM