Package io.awspring.cloud.kinesis.config
Interface KclHandlerMethodEndpoint
- All Superinterfaces:
KclEndpoint
- All Known Implementing Classes:
KclListenerEndpoint
KclEndpoint specialization whose records are handled by a
HandlerMethod, as is the case for
KclListener annotated methods.
Endpoints that dispatch to a MessageListener directly can implement
KclEndpoint instead.
- Since:
- 4.3.0
- Author:
- Matej Nedic
-
Method Summary
Modifier and TypeMethodDescriptiongetBean()The bean containing the method to invoke with the incoming records.The factory creating theHandlerMethodfor this endpoint.The method to invoke with the incoming records.voidsetHandlerMethodFactory(MessageHandlerMethodFactory handlerMethodFactory) Sets the factory creating theHandlerMethodfor this endpoint.Methods inherited from interface io.awspring.cloud.kinesis.config.KclEndpoint
getApplicationName, getAutoStartup, getCheckpointInterval, getCheckpointMode, getCheckpointRecordCount, getConsumerArn, getConsumerName, getFactoryBeanName, getId, getInitialPositionInStream, getInitialPositionTimestamp, getLeaseTableName, getListenerMode, getMetricsNamespace, getReplyStream, getRetrievalMode, getStreamNames
-
Method Details
-
getBean
Object getBean()The bean containing the method to invoke with the incoming records.- Returns:
- the bean.
-
getMethod
Method getMethod()The method to invoke with the incoming records.- Returns:
- the method.
-
setHandlerMethodFactory
Sets the factory creating theHandlerMethodfor this endpoint.- Parameters:
handlerMethodFactory- the factory.
-
getHandlerMethodFactory
MessageHandlerMethodFactory getHandlerMethodFactory()The factory creating theHandlerMethodfor this endpoint.- Returns:
- the factory.
-