Created
March 15, 2011 09:22
-
-
Save ketankhairnar/870492 to your computer and use it in GitHub Desktop.
Sample Camel Route
This file contains hidden or 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
@Override | |
protected RouteBuilder createRouteBuilder() | |
{ | |
return new SpringRouteBuilder() | |
{ | |
public void configure() | |
{ | |
from("direct:input").to("bean:inputSql").to("jdbc:sourceDataSource").process(new ResultSetProcessor()).split(body()).to( | |
"jpa:com.abc.entity.MyJPAEntity"); | |
} | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment