public void configure()

in amqp/src/main/java/sample/camel/SampleAutowiredAmqpRoute.java [28:43]


    public void configure() throws Exception {
        from("file:src/main/data?noop=true")
            .id("file-consumer-route")
            .to("amqp:queue:SCIENCEQUEUE");

        from("timer:bar")
            .id("timer-consumer-route")
            .setBody(constant("Hello from Camel"))
            .to("amqp:queue:SCIENCEQUEUE")
            .log("Message sent from route ${routeId} to SCIENCEQUEUE");
        
        from("amqp:queue:SCIENCEQUEUE?receiveTimeout=10000")
            .id("amqp-consumer-route")
	        .id("consumer-route")
	        .to("log:MyLogger?showBody=true");
    }