Connecting a Developer Portal to several API Managers at once is one of the most common challenges in modern API management. At CloudAPPI we solve that integration with Apache Camel, the open-source integration framework that acts as the connector layer for the APIAddicts Developer Portal.
What is Apache Camel
Apache Camel is an open-source integration framework (an Apache project since 2007, Apache 2.0 license) with more than 300 components and connectors, built on the Enterprise Integration Patterns (EIP). Its routes are defined in Java, YAML or XML and run on Spring Boot, Quarkus or standalone (Camel CLI, or Camel K on Kubernetes).
The challenge: one dev portal, multiple gateways
The APIAddicts Developer Portal (apiportal, built with React and Strapi as a multi-API manager) needs to keep APIs, products and subscriptions in sync across different API Managers: AWS API Gateway, Kong and Azure API Management. Building a bespoke integration for each gateway is costly and fragile.
The solution: Apache Camel as the connector
With Camel we use a single route and EIP model to synchronize information between the dev portal and each API Manager. Instead of ad-hoc code per gateway, we define declarative, reusable routes that talk to AWS, Kong and Azure APIM behind a common interface.
Multi-gateway integration best practices
- Declarative EIP-based routes instead of scattered imperative logic.
- One reusable connector per gateway behind a common interface.
- Idempotent synchronization with retries and a Dead Letter Channel for failed messages.
- Externalized configuration and secrets per environment.
- Per-route observability: logs, metrics and traces.
- Cloud-native deployment with Quarkus or Camel K on Kubernetes.
Conclusion
Apache Camel turns multi-gateway integration from a bespoke-code problem into an architecture of reusable, observable and resilient routes. It is the piece that lets the APIAddicts Developer Portal scale to any API Manager without rewriting integrations.
At CloudAPPI we design and deliver API integrations with Apache Camel and APIAddicts. Learn more at camel.apache.org and on the APIAddicts GitHub.
Author