This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 97470c74 Polished
97470c74 is described below
commit 97470c7465e0057704f81919a7b9594e2c30c831
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Jul 4 09:34:24 2026 +0200
Polished
---
pojo/pom.xml | 2 +-
pojo/src/main/java/sample/camel/NumberPojo.java | 4 ++--
pojo/src/main/resources/application.properties | 3 ---
3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/pojo/pom.xml b/pojo/pom.xml
index 02bbf490..5f0a2948 100644
--- a/pojo/pom.xml
+++ b/pojo/pom.xml
@@ -74,7 +74,7 @@
</dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
- <artifactId>camel-stream-starter</artifactId>
+ <artifactId>camel-log-starter</artifactId>
</dependency>
<!-- test -->
diff --git a/pojo/src/main/java/sample/camel/NumberPojo.java
b/pojo/src/main/java/sample/camel/NumberPojo.java
index 39311b55..6456cca5 100644
--- a/pojo/src/main/java/sample/camel/NumberPojo.java
+++ b/pojo/src/main/java/sample/camel/NumberPojo.java
@@ -28,10 +28,10 @@ import org.springframework.stereotype.Component;
@Component
public class NumberPojo {
- // sends the message to the stream:out endpoint but hidden behind this
interface
+ // sends the message to the log:out endpoint but hidden behind this
interface
// so the client java code below can use the interface method instead of
Camel's
// FluentProducerTemplate or ProducerTemplate APIs
- @Produce("stream:out")
+ @Produce("log:out")
private MagicNumber magic;
// only consume when the predicate matches, eg when the message body is
lower than 100
diff --git a/pojo/src/main/resources/application.properties
b/pojo/src/main/resources/application.properties
index d146ebd5..976417d4 100644
--- a/pojo/src/main/resources/application.properties
+++ b/pojo/src/main/resources/application.properties
@@ -20,6 +20,3 @@ camel.main.name = PojoExample
# keep camel running
camel.main.run-controller = true
-
-# automatic shutdown after 60 seconds
-camel.main.duration-max-seconds = 60