Skip to content
No description, website, or topics provided.
Java Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.adoc updated readme Jul 25, 2019


MicroProfile Context Propagation example

Example code for trying out MicroProfile Context Propagation. Also see my blog post on that topic.

This project uses Open Liberty in a nightly build.

Building & Running

mvn clean package
docker build -t mp-cp-example .
docker run --rm -p 9080:9080 mp-context

You can access the resources using cURL or any other HTTP client:

curl localhost:9080/mp-cp-example/resources/bulkheads -i
curl localhost:9080/mp-cp-example/resources/bulkheads -i -XPUT -d 'foobar'
curl localhost:9080/mp-cp-example/resources/contexts/example -i -XPUT -d 'foobar'

Also have a look at the default metrics provided by Open Liberty:

curl localhost:9080/metrics/
You can’t perform that action at this time.