org.ow2.jonas.camel.service.itests
Class CamelServiceTestComponent
java.lang.Object
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. |
|
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 |
bundleContext
protected org.osgi.framework.BundleContext bundleContext
- The OSGi bundle context. Obtained via constructor.
CamelServiceTestComponent
public CamelServiceTestComponent(org.osgi.framework.BundleContext bundleContext)
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.