簡體   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