diff --git a/pojo/src/main/java/sample/camel/NumberPojo.java b/pojo/src/main/java/sample/camel/NumberPojo.java index 6456cca5..cd3fad37 100644 --- a/pojo/src/main/java/sample/camel/NumberPojo.java +++ b/pojo/src/main/java/sample/camel/NumberPojo.java @@ -21,7 +21,7 @@ import org.springframework.stereotype.Component; /** - * A POJO that listen to messages from the seda:numbers endpoint via {@link Consume} + * A POJO that listen to messages from the direct:numbers endpoint via {@link Consume} * and then via {@link MagicNumber} and {@link Produce} sends a message that will * be printed in the console. */ diff --git a/pojo/src/main/resources/application.properties b/pojo/src/main/resources/application.properties index 976417d4..d777e403 100644 --- a/pojo/src/main/resources/application.properties +++ b/pojo/src/main/resources/application.properties @@ -20,3 +20,6 @@ camel.main.name = PojoExample # keep camel running camel.main.run-controller = true + +# let Camel run for 60 seconds before shutting down +camel.main.duration-max-seconds = 60