Interface MessageSourceManagement
- All Known Implementing Classes:
AbstractFetchLimitingMessageSource
@IntegrationManagedResource public interface MessageSourceManagement
Message sources implementing this interface have additional properties that
can be set or examined using JMX.
- Since:
- 5.0
-
Method Summary
Modifier and Type Method Description intgetMaxFetchSize()Return 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
-
setMaxFetchSize
@ManagedAttribute(description="Maximum objects to fetch") void setMaxFetchSize(int maxFetchSize)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
@ManagedAttribute int getMaxFetchSize()Return the max fetch size.- Returns:
- the max fetch size.
- See Also:
setMaxFetchSize(int)
-