#143 Added Camel dependency

This commit is contained in:
Ilkka Seppala
2015-08-22 15:43:44 +03:00
parent c4912b2a2b
commit cd4d420376
4 changed files with 19 additions and 3 deletions

View File

@@ -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();
}
}