org.apache.camel.impl
Class ConsumerCache
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.ConsumerCache
- All Implemented Interfaces:
- Service
public class ConsumerCache
- extends ServiceSupport
Cache containing created Consumer
.
- Version:
- $Revision: 778782 $
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, toString, wait, wait, wait |
ConsumerCache
public ConsumerCache()
getConsumer
public PollingConsumer getConsumer(Endpoint endpoint)
receive
public Exchange receive(Endpoint endpoint)
receive
public Exchange receive(Endpoint endpoint,
long timeout)
receiveNoWait
public Exchange receiveNoWait(Endpoint endpoint)
doStop
protected void doStop()
throws Exception
- Specified by:
doStop
in class ServiceSupport
- Throws:
Exception
doStart
protected void doStart()
throws Exception
- Specified by:
doStart
in class ServiceSupport
- Throws:
Exception
Copyright © 2009 Apache Software Foundation. All Rights Reserved.