public class GPFDistMessageHandler extends AbstractGPFDistMessageHandler
Constructor and Description |
---|
GPFDistMessageHandler(int port,
int flushCount,
int flushTime,
int batchTimeout,
int batchCount,
int batchPeriod,
java.lang.String delimiter) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart()
Subclasses may override this method with the start behaviour.
|
protected void |
doStop()
Subclasses may override this method with the stop behaviour.
|
protected void |
doWrite(org.springframework.messaging.Message<?> message)
Subclasses need to implement this method to handle
Message in its writer. |
protected void |
onInit() |
void |
setGreenplumLoad(GreenplumLoad greenplumLoad) |
void |
setRateInterval(int rateInterval) |
void |
setSqlTaskScheduler(org.springframework.scheduling.TaskScheduler sqlTaskScheduler) |
getPhase, handleMessageInternal, isAutoStartup, isRunning, setAutoStartup, setPhase, start, stop, stop
getComponentType, getOrder, handleMessage, setOrder, setShouldTrack
afterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setTaskScheduler, toString
public GPFDistMessageHandler(int port, int flushCount, int flushTime, int batchTimeout, int batchCount, int batchPeriod, java.lang.String delimiter)
protected void doWrite(org.springframework.messaging.Message<?> message) throws java.lang.Exception
AbstractGPFDistMessageHandler
Message
in its writer.doWrite
in class AbstractGPFDistMessageHandler
message
- the message to writejava.lang.Exception
protected void onInit() throws java.lang.Exception
onInit
in class org.springframework.integration.context.IntegrationObjectSupport
java.lang.Exception
protected void doStart()
AbstractGPFDistMessageHandler
AbstractGPFDistMessageHandler.lifecycleLock
.doStart
in class AbstractGPFDistMessageHandler
protected void doStop()
AbstractGPFDistMessageHandler
AbstractGPFDistMessageHandler.lifecycleLock
.doStop
in class AbstractGPFDistMessageHandler
public void setSqlTaskScheduler(org.springframework.scheduling.TaskScheduler sqlTaskScheduler)
public void setGreenplumLoad(GreenplumLoad greenplumLoad)
public void setRateInterval(int rateInterval)