Purpose: Receive message from queue in activemq and route it to derby database using camel-sql. Message stored in database must contain body and current timestamp.
- Dependencies for Apache ServiceMix
feature:repo-add camel 2.16.4 feature:install camel
feature:install camel-spring feature:install camel-sql
feature:install spring-jdbc
bundle:install -s mvn:commons-dbcp/commons-dbcp/1.4 bundle:install -s mvn:commons-dbcp/commons-dbcp/1.6 bundle:install -s mvn:org.apache.derby/derby/10.12.1.1
-
To build this project use mvn install
-
To deploy the project in Apache Servicemix run the following command bundle:install -s mvn:ru.sydev/message_reader/1.0.0-SNAPSHOT
-
You can also run this project by mvn camel:run