|
|||||||||
| 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.MessageProducerSupport
public abstract class MessageProducerSupport
A support class for producer endpoints that provides a setter for the output channel and a convenience method for sending Messages.
| Field Summary |
|---|
| Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
MessageProducerSupport()
|
|
| Method Summary | |
|---|---|
protected void |
onInit()
Subclasses may implement this for initialization logic. |
protected void |
sendMessage(Message<?> message)
|
void |
setOutputChannel(MessageChannel outputChannel)
Specify the MessageChannel to which produced Messages should be sent. |
void |
setSendTimeout(long sendTimeout)
|
void |
setShouldTrack(boolean shouldTrack)
|
| Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint |
|---|
doStart, doStop, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop |
| Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
|---|
afterPropertiesSet, getBeanFactory, getComponentName, getComponentType, 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, getComponentType |
| Constructor Detail |
|---|
public MessageProducerSupport()
| Method Detail |
|---|
public void setOutputChannel(MessageChannel outputChannel)
MessageProducer
setOutputChannel in interface MessageProducerpublic void setSendTimeout(long sendTimeout)
public void setShouldTrack(boolean shouldTrack)
setShouldTrack in interface TrackableComponentprotected void onInit()
IntegrationObjectSupport
onInit in class IntegrationObjectSupportprotected void sendMessage(Message<?> message)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||