org.ow2.jonas.camel.service.itests
Class CamelServiceTestComponent

java.lang.Object
  extended by org.ow2.jonas.camel.service.itests.CamelServiceTestComponent

public class CamelServiceTestComponent
extends Object

A simple example on how to use the camel service on JOnAS 5.

Author:
Guillaume Renault

Field Summary
protected  org.osgi.framework.BundleContext bundleContext
          The OSGi bundle context.
 
Constructor Summary
CamelServiceTestComponent(org.osgi.framework.BundleContext bundleContext)
           
 
Method Summary
 void start()
          Start the route.
 void stop()
          Stop the route.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bundleContext

protected org.osgi.framework.BundleContext bundleContext
The OSGi bundle context. Obtained via constructor.

Constructor Detail

CamelServiceTestComponent

public CamelServiceTestComponent(org.osgi.framework.BundleContext bundleContext)
Method Detail

start

public void start()
           throws Throwable
Start the route.

Throws:
Throwable

stop

public void stop()
          throws Exception
Stop the route.

Throws:
Exception


Copyright © 2012 OW2 Consortium. All Rights Reserved.