public class JmsPollingConsumer
extends org.apache.camel.impl.PollingConsumerSupport
| 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, handleException, setExceptionHandler, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic JmsPollingConsumer(JmsEndpoint endpoint, org.springframework.jms.core.JmsOperations template)
public JmsEndpoint getEndpoint()
getEndpoint in interface org.apache.camel.ConsumergetEndpoint in class org.apache.camel.impl.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.ServiceSupportExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.ServiceSupportExceptionprotected void setReceiveTimeout(long timeout)
Apache Camel