The migration workflow converts existing integrations from other platforms to Apache Camel 4.x using YAML DSL. Instead of manual rewriting, the AI analyzes your existing artifacts, builds a dependency graph, and migrates flow-by-flow with full validation. This approach automates platform conversion while preserving business logic and catching issues early through automated verification.
Supported platforms:
MuleSoft Mule 3.x/4.x
Microsoft BizTalk Server
Apache Camel 2.x/3.x (including Red Hat Fuse)
Migration Workflow Steps
The migration workflow follows six core steps that apply across all supported platforms. Each step builds on the previous one, ensuring a systematic and verifiable migration.
Initialize for Migration
Navigate to your existing project directory and initialize Camel-Kit with migration support:
cd my-existing-project
camel-kit init --here --ai claude --source-platform <platform>
Key flags:
--here — initialize in the current directory (preserves your existing source)
--source-platform — specify the source platform (mulesoft, biztalk, camel2, or fuse)
Your existing source files and build configuration remain untouched. Camel-Kit adds the AI orchestration layer alongside your current artifacts.
Run the Migration Command
Invoke the migration orchestrator:
/camel-migrate
The AI begins the migration pipeline, coordinating all subsequent steps automatically. You’ll be prompted for platform-specific configuration (connector endpoints, credentials, environment mappings) during the process.
The migration command:
Detects the source platform and artifact types
Analyzes dependencies between flows
Conducts design interviews for each flow
Generates Camel routes with verification tests
Validates runtime behavior
Produces a migration report
Vendor Detection and Artifact Discovery
The AI scans your project to identify the source platform and discover all integration artifacts:
Migration order — migrate dependencies before dependents
Incremental verification — test each flow as soon as its dependencies are migrated
Parallel migration — independent flows can be migrated simultaneously
Impact analysis — understand which flows are affected by changes
If circular dependencies are detected, the AI prompts you to break the cycle (see Troubleshooting below).
Design Interview
For each flow (in topological order), the AI conducts a design interview to extract business requirements from the existing implementation:
Analyzing: customer-lookup-flow
Design interview questions:
1. What triggers this flow? (HTTP request, scheduled poll, message queue, etc.)
2. What data transformations occur?
3. What external systems are called?
4. What error handling is required?
5. What are the success/failure criteria?
Generating Business Requirements Document (BRD)...
Generating Technical Design Document (TDD)...
Interview artifacts:
BRD — business logic extracted from source (trigger, inputs, outputs, transformations, error cases)
TDD — technical specifications for Camel route (components, EIPs, test cases)
These documents guide the next step: planning and implementation.
Plan and Execute
With the BRD and TDD in hand, the AI automatically invokes the planning and execution pipeline (same as greenfield development):
Camel-Kit migrates one flow at a time, following the dependency order from graph analysis. This incremental approach offers several advantages over big-bang rewrites:
Benefits:
Verify each flow individually — catch issues early before they compound
Cause: DataWeave scripts (MuleSoft) or BizTalk maps may use platform-specific functions that don’t map directly to Camel’s transformation libraries (JOLT, JsonPath, XPath).
Resolution:
Review the generated Camel transformation (the AI will provide a best-effort conversion)
Compare input/output examples from the original DataWeave/map
If needed, implement custom Java transformation logic
Add behavioral tests to validate the transformation
Example:
# Generated Camel route (JOLT transformation)- transform:jolt:spec:| {
"operation": "shift",
"spec": { "orderId": "id", "customer.name": "customerName" }
}# TODO: Verify transformation with test data
Missing Component Equivalent
Symptom:
Warning: No direct Camel equivalent for connector
Source: Salesforce Connector (MuleSoft)
Recommendation: Use camel-salesforce component with manual configuration
Cause: Some platform-specific connectors may not have exact Camel equivalents, or require additional configuration.
Resolution:
Consult the migration report for suggested Camel components
If no component exists, implement a custom processor or use camel-http / camel-rest for API calls
Update the TDD with the chosen approach and re-run /camel-execute
Common mappings:
Salesforce Connector → camel-salesforce
SAP Connector → camel-sap-netweaver or camel-sap-hana
Database Connector → camel-sql or camel-jpa
File Connector → camel-file
HTTP Request → camel-http
Verification Fails
Symptom:
Verification failed: Behavioral test failure
Test: order-validation-flow-integration-test
Expected: 200 OK
Actual: 500 Internal Server Error
Cause: The migrated route may have incorrect configuration (endpoint URLs, credentials, transformation logic) or missing dependencies.
Resolution:
Review the test failure details (stack trace, logs)
Check the migrated route configuration against the original flow
Verify that connector credentials and endpoints are correctly configured
Run the test in debug mode to inspect data at each step
If the issue is environmental (e.g., missing database), document in the migration report and proceed
Debugging steps:
# Run verification with detailed logging/camel-verify --log-level DEBUG
# Run a single test in isolationmvn test -Dtest=OrderValidationFlowTest
# Inspect Camel route definitionscat src/main/resources/camel/order-validation.camel.yaml
Summary
The migration workflow automates platform conversion through six steps:
Initialize — add Camel-Kit to your existing project
Detect — discover artifacts and identify the source platform
Graph — analyze dependencies and determine migration order
Design — extract requirements from existing flows (BRD + TDD)
Implement — generate Camel routes with unit tests (/camel-plan + /camel-execute)
Verify — validate runtime behavior and produce migration report
This workflow applies across all supported platforms. For platform-specific details (artifact formats, connector mappings, known limitations), see the platform pages below.