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.git
commit d58b016b2d7816646d82d8a6b00ae22017835300 Author: Claus Ibsen <[email protected]> AuthorDate: Wed Jun 10 22:47:26 2026 +0200 Sync bundled examples --- .../examples/camel-jbang-example-catalog.json | 24 ++++++++++++++++++++++ .../route-topology/route-topology.camel.yaml | 19 ++++++++++------- 2 files changed, 36 insertions(+), 7 deletions(-) diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/resources/examples/camel-jbang-example-catalog.json b/dsl/camel-jbang/camel-jbang-core/src/main/resources/examples/camel-jbang-example-catalog.json index 1d5361fa33f6..8ffef5e7e9b1 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/resources/examples/camel-jbang-example-catalog.json +++ b/dsl/camel-jbang/camel-jbang-core/src/main/resources/examples/camel-jbang-example-catalog.json @@ -66,6 +66,30 @@ "http-to-aws-sqs.camel.yaml" ] }, + { + "name": "camel-1-tribute", + "title": "Camel 1.0 Tribute", + "description": "A tribute to the very first Apache Camel example from 2007 - JMS to File", + "level": "beginner", + "tags": [ + "beginner", + "jms", + "file", + "artemis", + "tribute" + ], + "bundled": true, + "requiresDocker": false, + "hasCitrusTests": false, + "files": [ + "README.md", + "application.properties", + "jms-to-file.camel.yaml" + ], + "infraServices": [ + "artemis" + ] + }, { "name": "circuit-breaker", "title": "Circuit Breaker", diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/resources/examples/route-topology/route-topology.camel.yaml b/dsl/camel-jbang/camel-jbang-core/src/main/resources/examples/route-topology/route-topology.camel.yaml index b1338b96b462..bbe81fb3ccd9 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/resources/examples/route-topology/route-topology.camel.yaml +++ b/dsl/camel-jbang/camel-jbang-core/src/main/resources/examples/route-topology/route-topology.camel.yaml @@ -5,7 +5,7 @@ # Trigger: generates a new order every 5 seconds - route: id: order-generator - description: Generate Orders + description: Generates a new order every 5 seconds from: uri: timer parameters: @@ -22,7 +22,7 @@ # HTTP entry point: receives orders from external clients - route: id: order-api - description: Order REST API + description: Receives orders from external clients via HTTP from: uri: platform-http parameters: @@ -35,7 +35,7 @@ # Shared route: validates and publishes orders (used by both order-generator and order-api) - route: id: process-order - description: Process Order + description: Validates and publishes orders to Kafka from: uri: direct:process-order steps: @@ -44,12 +44,13 @@ - log: message: "Processing order: ${body}" - to: + id: to-kafka-orders uri: kafka:orders # Validation: checks order contents - route: id: validate-order - description: Validate Order + description: Checks order contents before processing from: uri: direct:validate-order steps: @@ -59,7 +60,7 @@ # Kafka consumer: picks up orders and fans out to fulfillment and notifications - route: id: order-dispatcher - description: Dispatch Order + description: Fans out orders to fulfillment and notifications from: uri: kafka:orders steps: @@ -68,32 +69,36 @@ - multicast: steps: - to: + id: to-kafka-fulfillment uri: kafka:fulfillment - to: + id: to-kafka-notifications uri: kafka:notifications # Kafka consumer: handles fulfillment and reports to warehouse - route: id: fulfillment - description: Fulfill Order + description: Handles order fulfillment and ships to warehouse from: uri: kafka:fulfillment steps: - log: message: "Fulfilling order: ${body}" - to: + id: to-kafka-warehouse-shipments uri: kafka:warehouse-shipments description: Ship to Warehouse # Kafka consumer: sends notifications via external email service - route: id: notification - description: Send Notification + description: Sends order notifications via email from: uri: kafka:notifications steps: - log: message: "Sending notification for: ${body}" - to: + id: to-kafka-email-outbox uri: kafka:email-outbox description: Send Email
