These examples show how to adapt, customize, and embed Membrane for real-world scenarios beyond basic reverse-proxy usage.
- Configuration properties and environment variables Prepare Membrane for production by externalizing configuration.
- Conditional logic with
ifChange API behavior based on conditions. - Global plugin chain Apply plugins globally across all APIs.
- Plugin Chains Define plugin sequences once and reuse them in multiple APIs.
- Error handling Transform backend error messages into a unified format.
- File ExchangeStore Persist messages to local disk.
- MongoDB ExchangeStore Store API messages in MongoDB for later inspection or analysis.
- Custom plugins Extend Membrane with your own interceptors in Java.
- Embedding Membrane Integrate Membrane directly into your Java application.
- Service Discovery with
etcdDynamically discover services and update routing.