简体   繁体   中英

Read an xml file from EMS queue using Apache Camel

See the code below

public class VerifyModule extends RouteBuilder {

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

1) Is this the correct way to read from an EMS queue? Please could someone give me a working example?

2) How do I instansiate and use this module in order to read from the EMS queue and populate the localfile.txt

I understand this to be Tibco EMS.. if so, you need to wire up a jms component and do

ref: http://camel.apache.org/jms.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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