Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/krasserm/camelinaction-appendix-e

akka-camel examples from book Camel in Action - Appendix E (adjusted to the most recent Akka release or development snapshot)
https://github.com/krasserm/camelinaction-appendix-e

Last synced: 20 days ago
JSON representation

akka-camel examples from book Camel in Action - Appendix E (adjusted to the most recent Akka release or development snapshot)

Awesome Lists containing this project

README

        

Introduction
------------

This sub-project implements the code examples of Camel in Action - Appendix E
(http://www.manning.com/ibsen/appEsample.pdf). The examples are based on Akka
1.3, Camel 2.9.0 and Scala 2.9.1.

Prerequisites
-------------

Building and running the examples requires SBT 0.7 [1], a simple build tool
for Scala projects. Installation instructions can be found at [2]. After
installation, you should have the 'sbt' command available.

Build examples
--------------

To build the examples, go to the appendixE directory and run

sbt update
sbt compile

from the command line. The first command downloads all necessary dependencies,
the second command compiles the sources.

Run examples
------------

To run one of the examples, run

sbt run

from the command line. This will display a list of main classes. The classes
are named based on the section numbers in appendix E. Here's an example:

[1] camelinaction.SectionE2
[2] camelinaction.SectionE31
[3] camelinaction.SectionE32
[4] camelinaction.SectionE4
[5] camelinaction.SectionE52
[6] camelinaction.SectionE6
[7] camelinaction.SectionE7

To run the examples from section 3.1, enter 2 when prompted.

References
----------

[1] http://code.google.com/p/simple-build-tool/
[2] http://code.google.com/p/simple-build-tool/wiki/Setup