review of docs processed

This commit is contained in:
RayRoestenburg 2012-07-23 01:36:12 +02:00
parent 9ac24ee4d7
commit 6c43fb4235
11 changed files with 94 additions and 145 deletions

View file

@ -5,14 +5,14 @@ import akka.camel.internal.component.CamelPath;
import org.apache.camel.builder.RouteBuilder;
public class CustomRouteBuilder extends RouteBuilder{
private ActorRef responder;
private String uri;
public CustomRouteBuilder(ActorRef responder) {
this.responder = responder;
uri = CamelPath.toUri(responder);
}
public void configure() throws Exception {
from("jetty:http://localhost:8877/camel/custom").to(CamelPath.toUri(responder));
from("jetty:http://localhost:8877/camel/custom").to(uri);
}
}
//#CustomRoute