Sample project to show how to use/integrate OpenHub framework with specific integration project.
Look at wiki for more details.
- openhub-ext: routes and business logic implementation
- openhub-war: WAR build
- Latest exchange rate (REST)
- GET /http/exchange/v1/latest
- input route: org.openhubframework.openhub.ri.in.exchange.ExchangeRestInRoute
- Translate (Web Services)
- WSDL /ws/translate.wsdl
- input routes: org.openhubframework.openhub.ri.in.translate.SyncTranslateWsRoute, org.openhubframework.openhub.ri.in.translate.AsyncTranslateWsRoute
- Build:
mvn clean package
- Run:
java $JAVA_OPTS -Dserver.port=8080 -Dspring.profiles.active=example-module,h2 -jar openhub-war/target/openhub-ri.war
- Build:
mvn clean package -Dserver
- Deploy on servlet container such as Tomcat
- Run:
docker-compose up
Open web browser: http://localhost:8080/web/admin/console/