public void configure()

in azure/camel-example-spring-boot-azure-eventhubs/src/main/java/camel/sample/EventhubsRouteBuilder.java [37:46]


    public void configure() {
        from(timer("tick")
            .period(1000))
            .setBody(constant("Event Test"))
            .to(azureEventhubs(namespaceName + "/" + eventhubsName));

        from(azureEventhubs(namespaceName + "/" + eventhubsName))
            .bean(receiver)
            .log("The content is ${body}");
    }