@SpringBootApplication public class Application extends Object
Constructor and Description |
---|
Application() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.builder.RouteBuilder |
fastRoute() |
com.codahale.metrics.graphite.GraphiteReporter |
graphiteReporter()
Create reporter bean and tell Spring to call stop() when shutting down.
|
static void |
main(String[] args) |
org.apache.camel.builder.RouteBuilder |
slowRoute() |
public static void main(String[] args)
args
- no command line args required@Bean(destroyMethod="stop") public com.codahale.metrics.graphite.GraphiteReporter graphiteReporter()
@Bean public org.apache.camel.builder.RouteBuilder slowRoute()
@Bean public org.apache.camel.builder.RouteBuilder fastRoute()
Apache Camel