Greenfield Workflow

Create a new integration from scratch

Overview

The greenfield workflow guides you through building a new Apache Camel integration from requirements to working code in minutes. The AI conducts a structured interview, decomposes the design into tasks, generates implementation code, and verifies everything works at runtime.

This guide walks through a complete example: building an order processing integration.

What You Built

In one session, without writing code directly, you created:

  • 6 Camel YAML routes
  • Integration tests using Citrus framework
  • Docker Compose environment setup
  • Configuration management with external properties
  • Error handling and dead letter queue
  • Observability with metrics and logging

All code follows the constitution’s 7 architecture rules and passed two-stage review per task.

Next Steps

Summary

The greenfield workflow transforms requirements into working integrations through four phases:

  1. /camel-brainstorm - Socratic interview → Design Specification
  2. /camel-plan - Task decomposition → Implementation Plan
  3. /camel-execute - Wave-based execution → Camel YAML routes
  4. /camel-verify - Runtime validation → Verified integration

Each gate requires your explicit approval, ensuring you stay in control while the AI handles the mechanical work of implementation.