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-jbang-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 2565a6b  Add external kafka producers to route-topology example
2565a6b is described below

commit 2565a6ba21ef513bd4505f8b8e4dcbff58e3c3bc
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Jun 2 11:33:59 2026 +0200

    Add external kafka producers to route-topology example
    
    Fulfillment and notification routes now send to external kafka topics
    (warehouse-shipments, email-outbox) to demonstrate external-out
    endpoints in the topology diagram.
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
 route-topology/route-topology.camel.yaml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/route-topology/route-topology.camel.yaml 
b/route-topology/route-topology.camel.yaml
index 8657d97..a89d27b 100644
--- a/route-topology/route-topology.camel.yaml
+++ b/route-topology/route-topology.camel.yaml
@@ -72,7 +72,7 @@
               - to:
                   uri: kafka:notifications
 
-# Kafka consumer: handles fulfillment
+# Kafka consumer: handles fulfillment and reports to warehouse
 - route:
     id: fulfillment
     description: Fulfill Order
@@ -81,8 +81,10 @@
       steps:
         - log:
             message: "Fulfilling order: ${body}"
+        - to:
+            uri: kafka:warehouse-shipments
 
-# Kafka consumer: sends notifications
+# Kafka consumer: sends notifications via external email service
 - route:
     id: notification
     description: Send Notification
@@ -91,3 +93,5 @@
       steps:
         - log:
             message: "Sending notification for: ${body}"
+        - to:
+            uri: kafka:email-outbox

Reply via email to