org.apache.servicemix.camel.nmr
Class ServiceMixConsumer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultConsumer
org.apache.servicemix.camel.nmr.ServiceMixConsumer
- All Implemented Interfaces:
- org.apache.camel.Consumer, org.apache.camel.Service, org.apache.servicemix.nmr.api.Endpoint
public class ServiceMixConsumer
- extends org.apache.camel.impl.DefaultConsumer
- implements org.apache.servicemix.nmr.api.Endpoint
A Consumer that receives Camel Exchanges and sends them into the ServiceMix NMR
| Fields inherited from class org.apache.camel.impl.DefaultConsumer |
log |
| Fields inherited from interface org.apache.servicemix.nmr.api.Endpoint |
ENDPOINT_NAME, INTERFACE_NAME, NAME, SERVICE_NAME, UNTARGETABLE, VERSION, WSDL_URL |
| Methods inherited from class org.apache.camel.impl.DefaultConsumer |
getExceptionHandler, getProcessor, handleException, setExceptionHandler, toString |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.camel.Service |
start, stop |
ServiceMixConsumer
public ServiceMixConsumer(ServiceMixEndpoint endpoint,
org.apache.camel.Processor processor)
getEndpoint
public ServiceMixEndpoint getEndpoint()
- Specified by:
getEndpoint in interface org.apache.camel.Consumer- Overrides:
getEndpoint in class org.apache.camel.impl.DefaultConsumer
doStart
protected void doStart()
throws java.lang.Exception
- Overrides:
doStart in class org.apache.camel.impl.DefaultConsumer
- Throws:
java.lang.Exception
doStop
protected void doStop()
throws java.lang.Exception
- Overrides:
doStop in class org.apache.camel.impl.DefaultConsumer
- Throws:
java.lang.Exception
setChannel
public void setChannel(org.apache.servicemix.nmr.api.Channel channel)
- Specified by:
setChannel in interface org.apache.servicemix.nmr.api.Endpoint
process
public void process(org.apache.servicemix.nmr.api.Exchange exchange)
- Specified by:
process in interface org.apache.servicemix.nmr.api.Endpoint
Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.