#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();
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@ import org.junit.Test;
 | 
			
		||||
public class AppTest {
 | 
			
		||||
	
 | 
			
		||||
	@Test
 | 
			
		||||
	public void test() {
 | 
			
		||||
	public void test() throws Exception {
 | 
			
		||||
		String[] args = {};
 | 
			
		||||
		App.main(args);
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user