Each recipe is a complete, copy-paste prompt for a real-world microservice. Step 1: generate the scaffold via CamelBee MCP Server or Initializer — routes, tests, Docker, all passing on day one. Step 2: paste the recipe into Claude Code, Cursor, Codex, or any AI tool — get a production-ready service with your domain, your tests, and your business logic.
Use the CamelBee Initializer UI, or tell your AI tool to call the CamelBee MCP Server (first time? configure your AI tool's MCP connection — instructions there). Pick framework, interfaces, and backends. A complete Maven project lands in your workspace — routes, tests, Docker, embedded debugger, all wired and passing. If you used the Initializer, extract the downloaded zip into an empty folder, then open your AI tool in that folder.
Copy a recipe and paste it into your AI tool. It reads the architecture from CLAUDE.md and .claude/ in the generated project, replaces the Order domain with your domain, implements business logic, runs all three test levels, and reports done.
cd into the new project folder and open your AI assistant from there. Claude Code, Cursor, OpenCode, Codex, and Copilot all load their project rules from the working directory at launch.
An AI-callable product catalog exposing three MCP tools — listProducts, searchProducts, getProduct — with every tool call audit-logged to PostgreSQL. Compiles to a native executable for serverless deployment.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Quarkus · Interfaces: MCP REST
Backends: REST JPA · Operations: List · Create · Get
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Quarkus microservice called product-catalog-mcp (group io.camelbee, service productcatalog). It should expose both an MCP interface and a REST API for listing, creating, and getting products. Backends: an external REST API (list, create, and get) and PostgreSQL via JPA (list, create, and get). Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
A REST service that fetches live exchange rates with Redis cache-aside (60s TTL), persists every provider call to PostgreSQL, and exposes a paginated rate history endpoint. Both cache paths are visible as distinct routes in the CamelBee debugger.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Spring Boot · Interfaces: REST (JSON) ops: List · Get
Backends: REST (JSON) ops: Get · JPA (PostgreSQL) ops: List
Redis cache-aside is implemented inline in the central route — not a formal CamelBee backend.
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Spring Boot microservice called exchange-rate-service (group io.finance, service exchangerate). It needs a REST API for fetching and listing exchange rates. Backends: an external REST rate provider (get only — called on cache miss) and PostgreSQL via JPA (list only — for querying rate history). The Redis cache-aside and persistence writes are implemented as inline logic in the central route, not as formal CamelBee backend endpoints. Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
A full async processing pipeline: REST + MCP accept submissions, Kafka drives async processing, a credit bureau REST API makes the decision via three-path content-based routing, and Redis caches every application state change.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Spring Boot · Interfaces: REST (JSON) ops: Create · Get · List · MCP ops: Create · Get · List · KAFKA (AVRO · Schema Registry) ops: Update
Backends: KAFKA (AVRO · Schema Registry) ops: Create · Update · JPA (PostgreSQL) ops: Create · Get · List · Update · REST (JSON) ops: Update · CACHE (Redis) ops: Create · Update
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Spring Boot microservice called loan-application-service (group io.fintech, service loanapplication). It needs a REST API and an MCP interface for submitting (create), getting, and listing loan applications, plus a Kafka consumer using AVRO with Apicurio Schema Registry that processes submitted events (update). Backends: a Kafka producer using AVRO with Schema Registry (create and update events), PostgreSQL via JPA (create, get, list, and update), an external REST backend for credit assessment calls (update only), and a Redis cache for create and update only — cache reads are inline in the central route, not a formal backend endpoint. Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
A full-CRUD order API backed by PostgreSQL, with every write event published to Kafka and hot reads served from an in-process Caffeine cache. All three CamelBee route layers are exercised by all 7 operations.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Quarkus · Interface: REST (JSON) ops: all 7
Backends: JPA (PostgreSQL) ops: all 7 · KAFKA (JSON) ops: Create · BatchCreate · Replace · Update · Delete · CACHE (Caffeine) ops: Create · BatchCreate · Replace · Update · Delete
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Quarkus microservice called order-management (group io.commerce, service ordermanagement). It needs a REST API supporting all 7 operations: list, create, batch create, get, replace, update, and delete. Backends: PostgreSQL via JPA for all 7 operations, Kafka for event publishing on all write operations (create, batch-create, replace, update, and delete), and an in-process Caffeine cache for all write operations (create, batch-create, replace, update, and delete) — cache reads for get are inline in the central route. Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
MQTT messages from IoT sensors land in a Kafka topic and are persisted to MongoDB. A REST API lets consumers query sensor readings by device ID with time-range filtering. The canonical Camel protocol-bridging pattern.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Quarkus · Interfaces: MQTT (JSON) ops: Create · REST (JSON) ops: List · Get
Backends: KAFKA (JSON) ops: Create · MONGODB ops: Create · List · Get
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Quarkus microservice called sensor-ingestion (group io.iot, service sensoringestion). It should subscribe to an MQTT topic to ingest sensor readings (create) and expose a REST API for listing and getting readings. Backends: Kafka for forwarding each sensor event (create only) and MongoDB for persistence (create, list, and get). Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
CSV files dropped into an input folder are polled every 30 seconds, validated row by row, batch-inserted to PostgreSQL, and a completion event published to Kafka. Invalid rows go to a dead-letter file. Classic Apache Camel at its strongest.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Spring Boot · Interface: FILE (CSVJ) ops: Create · BatchCreate
Backends: JPA (PostgreSQL) ops: Create · BatchCreate · KAFKA (JSON) ops: Create
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Spring Boot microservice called file-etl-pipeline (group io.etl, service fileetl). It should poll a directory for CSV files and process records individually (create) and in batches (batch-create). Backends: PostgreSQL via JPA for persistence (create and batch-create) and Kafka for publishing each ingested record (create only). Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
A GraphQL gateway that resolves product queries through a REST backend with Redis cache-aside (5-minute TTL). Cache hit and miss are distinct Camel route paths visible in the CamelBee debugger. Mutations bypass cache and invalidate affected keys.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Quarkus · Interface: GRAPHQL ops: List · Create · Get · Update · Delete
Backends: REST (JSON) ops: List · Create · Get · Update · Delete · CACHE (Redis) ops: Create · Update · Delete
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Quarkus microservice called product-graphql (group io.catalog, service productgraphql). It needs a GraphQL API for listing, creating, getting, updating, and deleting products. Backends: an external REST API for all operations (list, create, get, update, and delete) and a Redis cache for write operations only (create on cache miss, update after mutation, and delete on eviction) — cache reads for get are done inline in the central route. Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
A REST API accepts inventory updates and writes to MongoDB. Every change publishes a Kafka event, and a Kafka consumer drives cross-system sync — calling a warehouse REST API and sending an SNS notification on completion or failure.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Spring Boot · Interfaces: REST (JSON) ops: List · Create · Get · Update · Delete · KAFKA (JSON) ops: Update
Backends: REST (JSON) ops: Create · MONGODB ops: List · Create · Get · Update · Delete · AWSSNS (JSON) ops: Create
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Spring Boot microservice called inventory-sync (group io.warehouse, service inventorysync). It needs a REST API for full inventory CRUD (list, create, get, update, delete) and a Kafka consumer for incoming stock update events (update). Backends: an external REST backend for dispatching warehouse sync calls (create only), MongoDB for all persistence operations (list, create, get, update, and delete), and AWS SNS for sync notifications (create only). Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
Expose a WSDL-based SOAP interface for legacy clients while routing all calls to a modern REST backend. Every call is audit-logged to PostgreSQL. The canonical Apache Camel legacy-modernization pattern used by thousands of enterprises.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Spring Boot · Interface: SOAP ops: List · Create · Get · Update · Delete
Backends: REST (JSON) ops: List · Create · Get · Update · Delete · JPA (PostgreSQL) ops: Create
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Spring Boot microservice called customer-soap-bridge (group io.legacy, service customersoapbridge). It exposes a SOAP endpoint for listing, creating, getting, updating, and deleting customers. Backends: an external REST API for all operations (list, create, get, update, and delete) and PostgreSQL via JPA for audit-logging each SOAP call (create only). Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
Documents uploaded to an S3 bucket are automatically ingested — a REST analysis service extracts metadata, results are persisted to PostgreSQL, and an SNS notification is sent on completion or failure. A REST API exposes the processing history.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Spring Boot · Interfaces: AWSS3 (JSON) ops: Create · REST (JSON) ops: List · Get
Backends: REST (JSON) ops: Create · JPA (PostgreSQL) ops: Create · List · Get · AWSSNS (JSON) ops: Create
Status updates during processing are implemented as inline JPA calls, not a formal Update backend endpoint.
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Spring Boot microservice called document-pipeline (group io.docs, service documentpipeline). It should poll an S3 bucket for new documents (create) and expose a REST API for listing and getting them. Backends: an external REST processor for each new document (create only), PostgreSQL via JPA for persistence and history (create, list, and get — status update writes are inline logic), and AWS SNS for upload notifications (create only). Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
WebSocket clients subscribe to notification topics and receive messages in real time. A REST API publishes notifications that fan out to subscribers instantly, buffer to Kafka for durability, and cache the latest state per topic for late-joining clients.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Quarkus · Interfaces: WEBSOCKET (JSON) ops: Create · REST (JSON) ops: List · Create · Get
Backends: KAFKA (JSON) ops: Create · CACHE (Caffeine) ops: Create · MOCK ops: List · Get
The Mock backend stubs for List and Get are replaced with inline Caffeine reads during domain transformation.
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Quarkus microservice called notification-hub (group io.notify, service notificationhub). It accepts notifications over WebSocket and exposes a REST API for listing, sending, and getting notifications. Backends: Kafka for durable event buffering (create only), an in-process Caffeine cache for storing the latest notification per topic (create only), and a Mock backend for the list and get query stubs — these will be replaced with inline Caffeine reads during domain transformation. Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
A high-performance gRPC service for user profile management backed by PostgreSQL and Caffeine cache. All 7 Protobuf operations compile to a native executable for sub-50ms startup — ideal for low-latency inter-service communication.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Quarkus · Interface: GRPC ops: all 7
Backends: JPA (PostgreSQL) ops: all 7 · CACHE (Caffeine) ops: Create · BatchCreate · Replace · Update · Delete
Cache reads for list and get are inline in the central route — not formal Cache backend endpoints.
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Quarkus microservice called user-profile-grpc (group io.identity, service userprofilegrpc). It should expose a gRPC service supporting all 7 operations for user profiles. Backends: PostgreSQL via JPA for all 7 operations and an in-process Caffeine cache for all write operations (create, batch-create, replace, update, and delete) — cache reads for get are done inline in the central route, not as a formal cache backend endpoint. Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
A durable work-queue consumer that pulls tasks from RabbitMQ with manual acknowledgement, processes each through a REST API, and persists the outcome to PostgreSQL. Failed tasks are requeued with exponential backoff via a dead-letter exchange.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Spring Boot · Interface: RABBITMQ (JSON) ops: Create · Update
Backends: REST (JSON) ops: Create · JPA (PostgreSQL) ops: Create · Update
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Spring Boot microservice called task-queue-processor (group io.tasks, service taskqueueprocessor). It consumes new tasks (create) and updated/retry tasks (update) from a RabbitMQ queue. Backends: an external REST API for dispatching tasks to the processor (create only) and PostgreSQL via JPA for persisting task state and attempt logs (create and update). Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
Consume trade events from an enterprise JMS queue, route them to a downstream settlement REST API, audit-log every trade to PostgreSQL, and fan out completion notifications via AWS SNS. A REST query API exposes the audit log for compliance reporting.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Spring Boot · Interfaces: JMS (JSON) ops Create · Update, REST (JSON) ops List · Get
Backends: REST (JSON) ops Create · Update, JPA (PostgreSQL) ops Create · Update · List · Get, AWS SNS (JSON) ops Create · Update
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Spring Boot microservice called trade-settlement-bridge (group io.finance, service tradesettlement). It needs a JMS consumer for new and updated trade events, and a REST API for listing and getting audit records. Backends: an external REST settlement system (create and update), PostgreSQL via JPA (create, update, list, and get for audit), and AWS SNS for trade-completed notifications (create and update). Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
Poll incoming events from an SQS queue, persist routing state to DynamoDB, fan out to downstream consumers via SNS, and invoke an external REST API for enrichment. A REST query API exposes routing decisions. Compiles to a native executable for sub-100ms cold-start on AWS Fargate or Lambda.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Quarkus · Interfaces: AWS SQS (JSON) ops Create · Update, REST (JSON) ops List · Get
Backends: AWS DynamoDB ops Create · Update · List · Get, AWS SNS (JSON) ops Create · Update, REST (JSON) ops Create · Update
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Quarkus microservice called aws-event-router (group io.cloud, service eventrouter). It needs an AWS SQS consumer for incoming events (create and update) and a REST API for listing and getting routing decisions. Backends: AWS DynamoDB for state (create, update, list, and get), AWS SNS for fan-out notifications (create and update), and an external REST enrichment API (create and update). Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
Consume schema-registered metric events from Kafka, write hot timeseries data to Cassandra (partition-per-day pattern), and archive raw payloads to S3 for cold storage and replay. A REST query API exposes recent metrics with time-range filters.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Quarkus · Interfaces: Kafka (AVRO + SchemaRegistry) ops Create, REST (JSON) ops List · Get
Backends: Cassandra ops Create · List · Get, AWS S3 (JSON) ops Create
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Quarkus microservice called metrics-ingest (group io.observability, service metricsingest). It needs a Kafka consumer using AVRO with Apicurio Schema Registry for incoming metric events (create) and a REST API for listing and getting recent metrics. Backends: Cassandra for hot timeseries storage (create, list, and get) and AWS S3 for cold archival (create only). Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
Bridge two AMQP-based systems with content-based routing. Receive messages from an inbound AMQP queue, enrich each one with metadata from a downstream REST service, persist the routing decision to PostgreSQL, and forward to a destination AMQP queue. A REST API exposes the routing audit log.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Spring Boot · Interfaces: AMQP (JSON) ops Create · Update, REST (JSON) ops List · Get
Backends: AMQP (JSON) ops Create · Update, REST (JSON) ops Create · Update, JPA (PostgreSQL) ops Create · Update · List · Get
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Spring Boot microservice called amqp-messaging-hub (group io.enterprise, service amqphub). It needs an AMQP consumer for incoming messages (create and update) and a REST API for listing and getting audit records. Backends: an AMQP producer for forwarded messages (create and update), an external REST enrichment API (create and update), and PostgreSQL via JPA for audit logging (create, update, list, and get). Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
A polling bridge between a legacy database and a modern API. Detect new rows in a PostgreSQL outbox table on a configurable interval, deduplicate via an in-process Caffeine cache, then forward each row to a downstream REST API. Demonstrates SQL-as-source (polling), not SQL-as-store.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Spring Boot · Interfaces: SQL (PostgreSQL polling, JSON) ops Create
Backends: REST (JSON) ops Create, Cache (Caffeine) ops Create
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Spring Boot microservice called outbox-gateway (group io.integration, service outboxgateway). It should poll a PostgreSQL outbox table (create — each new row triggers a route). Backends: an external REST API for forwarding (create only) and a Caffeine in-process cache for idempotency dedupe (create only). Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
Poll a MongoDB collection for new and updated documents, mirror them to a PostgreSQL table for relational queries, and publish each change to a Kafka topic so other services can subscribe. A REST API exposes the mirrored data with paginated queries that the original Mongo collection can't serve efficiently.
Via Initializer: Set the options below, click Download, extract the zip into an empty folder, and open your AI tool in that folder:
Framework: Quarkus · Interfaces: MongoDB (JSON polling) ops Create · Update, REST (JSON) ops List · Get
Backends: JPA (PostgreSQL) ops Create · Update · List · Get, Kafka (AVRO) ops Create · Update
Via AI tool (MCP): Open your AI tool in a new empty directory, then paste:
"Use the CamelBee MCP server to generate a Quarkus microservice called mongo-mirror (group io.data, service mongomirror). It should poll a MongoDB collection for new and updated documents (create and update) and expose a REST API for listing and getting mirrored records. Backends: PostgreSQL via JPA as the relational mirror (create, update, list, and get) and Kafka for CDC-style change events (create and update). Then unzip the generated zip into a folder named after the artifactId, then stop and instruct me to open a fresh AI session inside that folder so the project's AI rules and commands load."
Once the AI has switched into the project folder, paste the full prompt below in the same session.
Have a use case you'd like to see as a recipe? Open an issue on GitHub — describe your domain, interfaces, and backends and we'll add it to the list.