ramu11 opened a new pull request, #30345: URL: https://github.com/apache/camel/pull/30345
## Description Implements [[CAMEL-23774](https://issues.apache.org/jira/browse/CAMEL-23774)](https://issues.apache.org/jira/browse/CAMEL-23774) by adding a curated, pattern-level recipes catalog to `camel-catalog` for AI-assisted Apache Camel development. The catalog provides structured integration guidance, recommended Camel options, YAML route examples, component requirements, operational pitfalls, and links to relevant JBang examples. ## Changes - Add `patterns/recipes.json` with ten integration pattern recipes: - Idempotent Consumer - Content-Based Routing with Validation - File Polling with Idempotent Repository - Throttling and Rate Limiting - Error Handling with Dead Letter Channel and Redelivery - JMS Asynchronous Request-Reply - Circuit Breaker with Fallback - Scatter-Gather with Timeout - Transactional Outbox - Saga Coordination with Compensation - Include structured recipe metadata covering components, EIPs, recommended options, dependencies and runtime requirements, example routes, and operational pitfalls. - Add Kafka and JMS transport variants to the Idempotent Consumer recipe, alongside the file-based example. - Link recipes to relevant examples from `apache/camel-jbang-examples`, identifying whether coverage is direct, related, or building-block level. - Document example availability where no suitable runnable example exists, including the Saga recipe. - Add Camel Catalog tests to verify resource loading, schema version, recipe count, required fields, and unique recipe IDs. - Add YAML DSL validator tests to validate recipe routes and transport variants against the Camel YAML DSL and catalog models. Also verify recommended options and Saga route structure. - Update the Camel Catalog user documentation to describe the recipes resource and its structure. ## Validation - `PatternRecipesYamlValidationTest` — passed after rebasing onto the latest `upstream/main`. - YAML route snippets are checked against Camel YAML DSL validation and catalog component/EIP models. - `git diff --check` — passed. ## Scope This change adds a pattern-level recipes resource and its associated tests and documentation. It does not introduce a new production API or change existing route execution behavior. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
