org.ow2.jonas.camel.example.cxf.route
Class ExampleCXF

java.lang.Object
  extended by org.ow2.jonas.camel.example.cxf.route.ExampleCXF

public class ExampleCXF
extends java.lang.Object

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

Author:
Guillaume Renault

Constructor Summary
ExampleCXF(org.osgi.framework.BundleContext bundleContext)
          Constructor: saves the BundleContext.
 
Method Summary
 void start()
          Start the route.
 void stop()
          Stop the route.
 void test()
          Test the route.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleCXF

public ExampleCXF(org.osgi.framework.BundleContext bundleContext)
Constructor: saves the BundleContext.

Method Detail

start

public void start()
           throws java.lang.Throwable
Start the route.

Throws:
java.lang.Throwable

test

public void test()
Test the route.


stop

public void stop()
          throws java.lang.Exception
Stop the route.

Throws:
java.lang.Exception


Copyright © 2009 OW2 Consortium. All Rights Reserved.