public class SpringRabbitPollingConsumer
extends org.apache.camel.support.PollingConsumerSupport
| Constructor and Description |
|---|
SpringRabbitPollingConsumer(SpringRabbitMQEndpoint endpoint,
org.springframework.amqp.rabbit.core.RabbitTemplate template) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInit() |
protected void |
doStart() |
protected void |
doStop() |
SpringRabbitMQEndpoint |
getEndpoint() |
org.apache.camel.Exchange |
receive() |
org.apache.camel.Exchange |
receive(long timeout) |
org.apache.camel.Exchange |
receiveNoWait() |
createExchange, getExceptionHandler, getProcessor, handleException, releaseExchange, setExceptionHandler, toStringbuild, doBuild, doFail, 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 SpringRabbitPollingConsumer(SpringRabbitMQEndpoint endpoint, org.springframework.amqp.rabbit.core.RabbitTemplate template)
public SpringRabbitMQEndpoint 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 doInit()
throws Exception
doInit in class org.apache.camel.support.service.BaseServiceExceptionprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.service.BaseServiceExceptionApache Camel