| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This example demonstrates how to use LambdaRouteBuilder as a way of defining Camel routes using lambda style.
rb -> rb.from("timer:foo").log("Hello Lambda");The LambdaRouteBuilder is a functional interface that makes defining routes with lambda style easy. All you need to do is to create a method that returns LambdaRouteBuilder and mark the method with @BindToRegistry or if using Spring Boot @Bean or @Produce for CDI/Quarkus.
See the MyConfiguration.java for the configuration and Camel routes are set up.
Multiple routes can be defined by having multiple methods.
If you hit any problem using Camel or have some feedback, then please let us know.
We also love contributors, so get involved :-)
The Camel riders!
| Back | FazBrowse Home | New Git URL |