Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 866 Bytes

README.md

File metadata and controls

50 lines (38 loc) · 866 Bytes

camel-trainig

The project for Camel Training

Technical hints

On Linux you can test all with solutions/testall.sh

Compile

cd solutions
mvn clean install
cd ..

Artemis Queue

Open new command-line and run

docker run -it --rm -p 8161:8161 -p 61616:61616 -p 5672:5672 -e ARTEMIS_USERNAME=camel -e ARTEMIS_PASSWORD=camel vromero/activemq-artemis:2.9.0-alpine

Postgres

Open new command-line and run

docker run -it --rm -p 5432:5432 -e POSTGRES_DB=camel -e POSTGRES_USER=camel -e POSTGRES_PASSWORD=camel postgres

In separate command-line run

cd ./solutions/commons
mvn flyway:migrate
cd ../..

Run Camel Open new command-line and run

cd solutions/best
mvn camel:run

Run Integration Tests

In separate command-line run

cd solutions/best
mvn -Dmaven.failsafe.skip=false -DskipTests verify