Skip to content

A Camel WS proxy that load balances between different CXF implementations.

Notifications You must be signed in to change notification settings

FuseByExample/lbproxy-example

Repository files navigation

CXF LB/Proxy Example

Requirements

Build the project source code

cd $PROJECT_ROOT
mvn clean install

Running the example standalone (should be done in 3 separate terminal windows/tabs)

cd $PROJECT_ROOT/greeter-gateway
mvn spring-boot:run '-Dserver.port=8080'
cd $PROJECT_ROOT/greeter-english-impl
mvn spring-boot:run '-Dserver.port=9000'
cd $PROJECT_ROOT/greeter-german-impl
mvn spring-boot:run '-Dserver.port=9001'
cd $PROJECT_ROOT/greeter-spanish-impl
mvn spring-boot:run '-Dserver.port=9002'

Running the example in OpenShift

oc new-project demo
cd $PROJECT_ROOT/greeter-gateway
mvn -P openshift clean install fabric8:deploy
cd $PROJECT_ROOT/greeter-english-impl
mvn -P openshift clean install fabric8:deploy
cd $PROJECT_ROOT/greeter-german-impl
mvn -P openshift clean install fabric8:deploy
cd $PROJECT_ROOT/greeter-spanish-impl
mvn -P openshift clean install fabric8:deploy

Testing the code

Use your favorite WS testing tool (ie. SoapUI) and point it to http://localhost:8080/services/greeter.

About

A Camel WS proxy that load balances between different CXF implementations.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages