Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 826 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 826 Bytes

camel-sql-queue

Route message from ActiveMQ to Derby Database using Camel

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.

  1. 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

  1. To build this project use mvn install

  2. To deploy the project in Apache Servicemix run the following command bundle:install -s mvn:ru.sydev/message_reader/1.0.0-SNAPSHOT

  3. You can also run this project by mvn camel:run