#143 Added Camel dependency
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
package com.iluwatar.message.channel;
|
||||
|
||||
import org.apache.camel.CamelContext;
|
||||
import org.apache.camel.impl.DefaultCamelContext;
|
||||
|
||||
public class App {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello World!");
|
||||
public static void main(String[] args) throws Exception {
|
||||
CamelContext context = new DefaultCamelContext();
|
||||
context.start();
|
||||
Thread.sleep(10000);
|
||||
context.stop();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user