2015-08-22 14:54:43 +03:00
|
|
|
package com.iluwatar.message.channel;
|
|
|
|
|
2015-08-22 15:43:44 +03:00
|
|
|
import org.apache.camel.CamelContext;
|
|
|
|
import org.apache.camel.impl.DefaultCamelContext;
|
|
|
|
|
2015-08-22 14:54:43 +03:00
|
|
|
public class App {
|
|
|
|
|
2015-08-22 15:43:44 +03:00
|
|
|
public static void main(String[] args) throws Exception {
|
|
|
|
CamelContext context = new DefaultCamelContext();
|
|
|
|
context.start();
|
|
|
|
Thread.sleep(10000);
|
|
|
|
context.stop();
|
2015-08-22 14:54:43 +03:00
|
|
|
}
|
|
|
|
}
|