org.apache.servicemix.camel
Class CamelContextEndpoint
java.lang.Object
org.apache.servicemix.common.endpoints.AbstractEndpoint
org.apache.servicemix.common.endpoints.SimpleEndpoint
org.apache.servicemix.common.endpoints.ProviderEndpoint
org.apache.servicemix.camel.CamelContextEndpoint
- All Implemented Interfaces:
- Endpoint
public class CamelContextEndpoint
- extends ProviderEndpoint
JBI endpoint that provides access to an underlying CamelContext and
manages the lifecycle for that endpoint
|
Constructor Summary |
CamelContextEndpoint(org.apache.camel.CamelContext camelContext,
java.lang.String su)
|
| Methods inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SERVICE_NAME
public static final javax.xml.namespace.QName SERVICE_NAME
- The default
CamelContextEndpoint service name
CamelContextEndpoint
public CamelContextEndpoint(org.apache.camel.CamelContext camelContext,
java.lang.String su)
getCamelContext
public org.apache.camel.CamelContext getCamelContext()
process
public void process(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
- Specified by:
process in interface Endpoint- Overrides:
process in class ProviderEndpoint
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Specified by:
start in interface Endpoint- Overrides:
start in class SimpleEndpoint
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Specified by:
stop in interface Endpoint- Overrides:
stop in class SimpleEndpoint
- Throws:
java.lang.Exception
Copyright © 2005-2011 FuseSource. All Rights Reserved.