|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.endpoint.AbstractPollingEndpoint
org.springframework.integration.endpoint.PollingConsumer
public class PollingConsumer
Message Endpoint that connects any MessageHandler implementation
to a PollableChannel.
| Field Summary |
|---|
| Fields inherited from class org.springframework.integration.endpoint.AbstractPollingEndpoint |
|---|
MAX_MESSAGES_UNBOUNDED, maxMessagesPerPoll |
| Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
PollingConsumer(PollableChannel inputChannel,
MessageHandler handler)
|
|
| Method Summary | |
|---|---|
protected boolean |
doPoll()
|
protected void |
onInit()
Subclasses may implement this for initialization logic. |
void |
setReceiveTimeout(long receiveTimeout)
|
| Methods inherited from class org.springframework.integration.endpoint.AbstractPollingEndpoint |
|---|
doStart, doStop, setAdviceChain, setBeanClassLoader, setErrorHandler, setMaxMessagesPerPoll, setTaskExecutor, setTransactionDefinition, setTransactionManager, setTrigger |
| Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint |
|---|
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop |
| Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
|---|
afterPropertiesSet, getBeanFactory, getChannelResolver, getComponentName, getComponentType, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setChannelResolver, setConversionService, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.springframework.beans.factory.InitializingBean |
|---|
afterPropertiesSet |
| Constructor Detail |
|---|
public PollingConsumer(PollableChannel inputChannel,
MessageHandler handler)
| Method Detail |
|---|
public void setReceiveTimeout(long receiveTimeout)
protected void onInit()
IntegrationObjectSupport
onInit in class AbstractPollingEndpointprotected boolean doPoll()
doPoll in class AbstractPollingEndpoint
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||