|
Spring Integration | ||||||||
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.SourcePollingChannelAdapter
public class SourcePollingChannelAdapter
A Channel Adapter implementation for connecting a
MessageSource
to a MessageChannel
.
Field Summary |
---|
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport |
---|
logger |
Constructor Summary | |
---|---|
SourcePollingChannelAdapter()
|
Method Summary | |
---|---|
protected org.springframework.expression.spel.support.StandardEvaluationContext |
createEvaluationContext()
|
protected boolean |
doPoll()
|
java.lang.String |
getComponentType()
Subclasses may implement this method to provide component type information. |
protected void |
onInit()
Subclasses may implement this for initialization logic. |
void |
setOnFailureChannel(MessageChannel onFailureResultChannel)
|
void |
setOnFailureExpression(org.springframework.expression.Expression onFailureExpression)
|
void |
setOnSuccessExpression(org.springframework.expression.Expression onSuccessExpression)
|
void |
setOnSuccessResultChannel(MessageChannel onSuccessResultChannel)
|
void |
setOutputChannel(MessageChannel outputChannel)
Specify the MessageChannel where Messages should be sent. |
void |
setResultSendTimeout(long sendTimeout)
|
void |
setSendTimeout(long sendTimeout)
Specify the maximum time to wait for a Message to be sent to the output channel. |
void |
setShouldTrack(boolean shouldTrack)
Specify whether this component should be tracked in the Message History. |
void |
setSource(MessageSource<?> source)
Specify the source to be polled for Messages. |
Methods inherited from class org.springframework.integration.endpoint.AbstractPollingEndpoint |
---|
doStart, doStop, setAdviceChain, setBeanClassLoader, setErrorHandler, setMaxMessagesPerPoll, setPollerMetadata, setTaskExecutor, 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, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, 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.integration.context.NamedComponent |
---|
getComponentName |
Constructor Detail |
---|
public SourcePollingChannelAdapter()
Method Detail |
---|
public void setSource(MessageSource<?> source)
public void setOutputChannel(MessageChannel outputChannel)
MessageChannel
where Messages should be sent.
public void setSendTimeout(long sendTimeout)
public void setShouldTrack(boolean shouldTrack)
setShouldTrack
in interface TrackableComponent
public void setOnSuccessExpression(org.springframework.expression.Expression onSuccessExpression)
public void setOnFailureExpression(org.springframework.expression.Expression onFailureExpression)
public void setOnSuccessResultChannel(MessageChannel onSuccessResultChannel)
public void setOnFailureChannel(MessageChannel onFailureResultChannel)
public void setResultSendTimeout(long sendTimeout)
public java.lang.String getComponentType()
IntegrationObjectSupport
getComponentType
in interface NamedComponent
getComponentType
in class IntegrationObjectSupport
protected void onInit()
IntegrationObjectSupport
onInit
in class AbstractPollingEndpoint
protected boolean doPoll()
doPoll
in class AbstractPollingEndpoint
protected org.springframework.expression.spel.support.StandardEvaluationContext createEvaluationContext()
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |