Get started
A first integration running, without the setup.
You write a Camel integration and the platform builds the image, deploys it and keeps it running, with no studio to install or pipeline to write.
- from:
uri: "rest:get:/orders/{id}"
steps:
- setHeader:
name: Content-Type
constant: application/json
- setBody:
simple: '{"order": "${header.id}", "status": "shipped"}'
- to: "log:info" What you do not set up
Six things between an idea and a running integration. None of them is yours to build.
| Usually | With Camel X | |
|---|---|---|
| An integration studio | Installed and licensed on each developer's machine | A browser. Integrations are text. |
| A build project | A Maven project, its dependencies, its plugins | None. Dependencies are read from the integration. |
| A container image | A Dockerfile, a base image to maintain | Built for you by the environment. |
| A CI/CD pipeline | Written, secured and maintained per project | None. Applying an integration builds and deploys it. |
| Deployment manifests | Kubernetes resources, written and kept in sync | Generated from the integration and its settings. |
| Monitoring | Agents and dashboards added afterwards | Logs, metrics and traces from the first deployment. |
The path
Four steps, all in the console.
Write the integration
Open Runtime Manager, create an integration and type it in the console.
Choose where it runs
Bind the integration to an environment: one of ours, or one on your own cluster.
Apply
The environment resolves the dependencies, builds the image and starts it. Nothing else to trigger.
Call it
The integration answers inside its environment. A gateway gives it a public address when you need one.
Why it is possible
The build happens in the environment, not on your side.
Each environment has its own build service, with its registry and its dependency settings. When you apply an integration, that service reads it, works out the components it needs, builds the image and deploys it. What other platforms ask you to assemble as a pipeline is here a function of the platform.
When you are ready for reviews and releases, the same integration builds from a Git repository instead of the console. Nothing else changes.