public class RmiConsumer extends org.apache.camel.impl.DefaultConsumer implements InvocationHandler
Consumer which uses RMI's UnicastRemoteObject to consume
method invocations.| Constructor and Description |
|---|
RmiConsumer(RmiEndpoint endpoint,
org.apache.camel.Processor processor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
Remote |
getProxy() |
Remote |
getStub() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
createUoW, doneUoW, getAsyncProcessor, getEndpoint, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic RmiConsumer(RmiEndpoint endpoint, org.apache.camel.Processor processor)
protected void doStart()
throws Exception
doStart in class org.apache.camel.impl.DefaultConsumerExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.impl.DefaultConsumerExceptionpublic Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowablepublic Remote getProxy()
public Remote getStub()
Apache Camel