Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Summary of Examples

Example Description or Summary
acl Restrict access to APIs by ip address or hostname.
api-management A simple file based api management approach.
basic-auth HTTP Basic Authentication to secure APIs or Web pages with username and password.
basic-xml-interceptor BasicXmlInterceptor adds date element with current time information inside bar element.
cbr Content based routing using XPath.
custom-interceptor How to write custom interceptors in Java.
custom-websocket-interceptor Please visit https://www.membrane-soa.org/service-proxy-doc/current/websockets/create-websocket-interceptor.htm to learn how to create custom WebSocket interceptors.
docker How to create a Membrane docker image.
embedding-java How to embed Membrane into Java applications.
file-exchangestore Membrane uses exchange stores to save requests and responses on disc or memory.
groovy Run groovy scripts to manipulate or monitor messages.
javascript Manipulate and monitor messages with Javascript.
json2json-transformation Transforms a JSON document into another JSON document using Javascript.
json-2-xml Using json2xml interceptor you can convert JSON content to XML in both request and response.
loadbalancing From simple static laodbalancers to dynamic node management
logging How to log requests and responses into a file and database in text, CSV and JSON format.
login page Protect Web pages using a login page and passwords.
ntlm Authentication against NTLM protected backends e.g. running on Microsoft IIS
oauth2 Please follow https://www.membrane-soa.org/service-proxy-doc/current/oauth2-password-flow-sample.htm
openapi Load APIs from OpenAPI documents and validate requests and responses against OpenAPI.
proxy How to forward HTTP requests to a proxy. Membrane can also serve as an HTTP proxy itself. The example demonstrates both.
quickstart-rest Please follow http://membrane-soa.org/service-proxy-doc/current/rest-quickstart.htm .
quickstart-soap Please follow http://membrane-soa.org/service-proxy-doc/current/soap-quickstart.htm .
rateLimiter The RateLimiter limits the number of requests in a given interval.
rest2soap With the REST2SOAP Converter you can make a SOAP Web Service as a REST resource accessible.
rest2soap-json REST2SOAP converter exposes a SOAP Web Service as a REST resource. In contrast to the rest2soap example the response will be a JSON object.
rewriter With the RewriteInterceptor you can rewrite URLs using regular expressions.
service-discovery-with-etcd The publisher publishes endpoint details for services to "the cloud". The configurator reads those details from "the cloud" and dynamically forwards to those services
soap/add-soap-header This interceptor adds a SOAP header to the incoming request using the Java DOM API.
spel Using the Spring Expression language as part of router configuration.
SSL/TLS SSL for APIs and for the communication to backends
stax-interceptor In this example we will install an interceptor called StaxConverterInterceptor that changes tag name from <foo> to <bar> using Java STAX API.
stomp-over-websocket-intercepting In this example we are going to see how STOMP-over-WebSocket messages are routed through Membrane Service Proxy.
swagger-proxy Running a proxy for Swagger using Membrane.
template With the Template Plugin you can intercept request and responses and change them using templates.
throttle With the ThrottleInterceptor you can delay and limit parallel requests.
validation Contains examples about form, xml schema, schematron, json-schema and soap proxy validation
versioning Examples showcasing routing and xslt versioning
websocket-intercepting This example demonstrates how Websocket frames are routed through Membrane Service Proxy.
websocket-stomp STOMP over WebSocket, all handled by Membrane Service Proxy.
xml-2-json Using xml2json interceptor you can convert XML content to JSON in both request and response.
xslt XSLTInterceptor applying XSLT stylesheets to request and response.