Created
April 22, 2017 14:40
-
-
Save mzimecki/46e241cef916129e404d342bcc0f903b to your computer and use it in GitHub Desktop.
[medium] Camel route example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component | |
public class HelloRoute extends RouteBuilder { | |
@Override | |
public void configure() throws Exception { | |
from(ServiceConstants.HELLO_SERVICE_ENDPOINT) | |
.id(ServiceConstants.HELLO_ROUTE_ID) | |
.log("I'm in the Camel Route!") | |
.process(new HelloProcessor()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment