Interface MessageSourceManagement
- All Known Implementing Classes:
- AbstractFetchLimitingMessageSource,- AbstractInboundFileSynchronizingMessageSource,- AbstractRemoteFileStreamingMessageSource,- FtpInboundFileSynchronizingMessageSource,- FtpStreamingMessageSource,- SftpInboundFileSynchronizingMessageSource,- SftpStreamingMessageSource,- SmbInboundFileSynchronizingMessageSource,- SmbStreamingMessageSource
Message sources implementing this interface have additional properties that
 can be set or examined using JMX.
- Since:
- 5.0
- Author:
- Gary Russell
- 
Method SummaryModifier and TypeMethodDescriptionintReturn the max fetch size.voidsetMaxFetchSize(int maxFetchSize) Set the maximum number of objects the source should fetch if it is necessary to fetch objects.
- 
Method Details- 
setMaxFetchSizeSet the maximum number of objects the source should fetch if it is necessary to fetch objects. Setting the maxFetchSize to 0 disables remote fetching, a negative value indicates no limit.- Parameters:
- maxFetchSize- the max fetch size; a negative value means unlimited.
 
- 
getMaxFetchSizeReturn the max fetch size.- Returns:
- the max fetch size.
- See Also:
 
 
-