tree: e596484fa5f19b59f51fdff7f680e94dbe98c206 [path history] [tgz]
  1. README.md
  2. pom.xml
  3. src/
examples/camel-example-osgi-rmi/README.md

Camel and RMI

Introduction

This example shows how to work with the Camel-RMI Component.

The example exposes a RMI service over port 37541 running as a Camel application. The Camel application must be running.

The Client is standalone and run in a separate JVM. It invokes the RMI service and outputs the reply.

Build

You will need to compile this example first:

mvn install

Run from cmd line outside OSGi container

To start the server

mvn camel:run

To run the client

mvn exec:java -PClient

To stop the example hit ctrl+c

Run inside OSGi container

If using Apache Karaf / Apache ServiceMix you can install this example from the shell

First the camel-rmi feature must be installed

features:chooseurl camel ${version}
features:install camel-rmi

Then install the example

osgi:install -s mvn:org.apache.camel/camel-example-osgi-rmi/${version}

Forum, Help, etc

If you hit an problems please let us know on the Camel Forums http://camel.apache.org/discussion-forums.html

Please help us make Apache Camel better - we appreciate any feedback you may have. Enjoy!