Create a java file by name MyClient.java
package com.techexample.processor;
import org.apache.camel.spring.Main;
public class MyClient {
public static void main(String[] args) throws Exception {
Main main = new Main();
main.setApplicationContextUri("camelContext.xml");
main.enableHangupSupport();
main.run();
}
}
No comments:
Post a Comment