Interface MessageSourceManagement
- All Known Implementing Classes:
AbstractFetchLimitingMessageSource
,AbstractInboundFileSynchronizingMessageSource
,AbstractRemoteFileStreamingMessageSource
,FtpInboundFileSynchronizingMessageSource
,FtpStreamingMessageSource
,SftpInboundFileSynchronizingMessageSource
,SftpStreamingMessageSource
@IntegrationManagedResource public interface MessageSourceManagement
Message sources implementing this interface have additional properties that
can be set or examined using JMX.
- Since:
- 5.0
- Author:
- Gary Russell
-
Method Summary
Modifier and Type Method Description int
getMaxFetchSize()
Return the max fetch size.void
setMaxFetchSize(int maxFetchSize)
Set the maximum number of objects the source should fetch if it is necessary to fetch objects.
-
Method Details
-
setMaxFetchSize
Set 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.
-
getMaxFetchSize
Return the max fetch size.- Returns:
- the max fetch size.
- See Also:
setMaxFetchSize(int)
-