|
Akka/Scala example source code file (CustomRouteBuilder.java)
The CustomRouteBuilder.java Akka example source codepackage docs.camel; //#CustomRoute import akka.actor.ActorRef; import akka.camel.internal.component.CamelPath; import org.apache.camel.builder.RouteBuilder; public class CustomRouteBuilder extends RouteBuilder{ private String uri; public CustomRouteBuilder(ActorRef responder) { uri = CamelPath.toUri(responder); } public void configure() throws Exception { from("jetty:http://localhost:8877/camel/custom").to(uri); } } //#CustomRoute Other Akka source code examplesHere is a short list of links related to this Akka CustomRouteBuilder.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.