public class JmsPollingConsumer
extends org.apache.camel.support.PollingConsumerSupport
PollingConsumer.| Constructor and Description |
|---|
JmsPollingConsumer(JmsEndpoint endpoint,
org.springframework.jms.core.JmsOperations template) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
JmsEndpoint |
getEndpoint() |
org.apache.camel.Exchange |
receive() |
org.apache.camel.Exchange |
receive(long timeout) |
org.apache.camel.Exchange |
receiveNoWait() |
protected void |
setReceiveTimeout(long timeout) |
getExceptionHandler, getProcessor, handleException, setExceptionHandler, toStringbuild, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic JmsPollingConsumer(JmsEndpoint endpoint, org.springframework.jms.core.JmsOperations template)
public JmsEndpoint getEndpoint()
getEndpoint in interface org.apache.camel.EndpointAwaregetEndpoint in class org.apache.camel.support.PollingConsumerSupportpublic org.apache.camel.Exchange receiveNoWait()
public org.apache.camel.Exchange receive()
public org.apache.camel.Exchange receive(long timeout)
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.service.BaseServiceExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.service.BaseServiceExceptionprotected void setReceiveTimeout(long timeout)
Apache Camel