org.apache.camel.component.jms
Class JmsPollingConsumer
java.lang.Object
org.apache.camel.support.ServiceSupport
org.apache.camel.impl.PollingConsumerSupport
org.apache.camel.component.jms.JmsPollingConsumer
- All Implemented Interfaces:
- org.apache.camel.Consumer, org.apache.camel.PollingConsumer, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.StatefulService, org.apache.camel.SuspendableService
public class JmsPollingConsumer
- extends org.apache.camel.impl.PollingConsumerSupport
- Version:
Fields inherited from class org.apache.camel.impl.PollingConsumerSupport |
log |
Fields inherited from class org.apache.camel.support.ServiceSupport |
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
Methods inherited from class org.apache.camel.impl.PollingConsumerSupport |
getExceptionHandler, handleException, setExceptionHandler, toString |
Methods inherited from class org.apache.camel.support.ServiceSupport |
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
Methods inherited from interface org.apache.camel.Service |
start, stop |
JmsPollingConsumer
public JmsPollingConsumer(JmsEndpoint endpoint,
org.springframework.jms.core.JmsOperations template)
getEndpoint
public JmsEndpoint getEndpoint()
- Specified by:
getEndpoint
in interface org.apache.camel.Consumer
- Overrides:
getEndpoint
in class org.apache.camel.impl.PollingConsumerSupport
receiveNoWait
public org.apache.camel.Exchange receiveNoWait()
receive
public org.apache.camel.Exchange receive()
receive
public org.apache.camel.Exchange receive(long timeout)
doStart
protected void doStart()
throws Exception
- Specified by:
doStart
in class org.apache.camel.support.ServiceSupport
- Throws:
Exception
doStop
protected void doStop()
throws Exception
- Specified by:
doStop
in class org.apache.camel.support.ServiceSupport
- Throws:
Exception
setReceiveTimeout
protected void setReceiveTimeout(long timeout)
Apache CAMEL