-1

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

user7487351
  • 43
  • 1
  • 6
edb500
  • 313
  • 1
  • 3
  • 14

1 Answers1

2

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

Matt Pavlovich
  • 4,087
  • 1
  • 9
  • 17