use of org.wildfly.swarm.camel.core.CamelFraction in project wildfly-swarm by wildfly-swarm.
the class Main method main.
public static void main(String... args) throws Exception {
swarm = new Swarm(args).fraction(new CamelFraction().addRouteBuilder(new RouteBuilder() {
@Override
public void configure() throws Exception {
from("direct:start").transform(simple("Hello ${body}"));
}
}));
swarm.start().deploy();
}
Aggregations