Interface PulsarMessageReaderContainer
- All Superinterfaces:
DisposableBean
,Lifecycle
,Phased
,SmartLifecycle
- All Known Implementing Classes:
AbstractPulsarMessageReaderContainer
,DefaultPulsarMessageReaderContainer
public sealed interface PulsarMessageReaderContainer
extends SmartLifecycle, DisposableBean
permits AbstractPulsarMessageReaderContainer<T>
Internal abstraction used by the framework representing a message listener container.
Not meant to be implemented externally.
- Author:
- Soby Chacko
-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
destroy()
default PulsarReaderContainerProperties
default void
setAutoStartup
(boolean autoStartup) void
setReaderCustomizer
(ReaderBuilderCustomizer<?> readerBuilderCustomizer) Set a reader customizer on this container.void
setupReaderListener
(Object messageListener) Methods inherited from interface org.springframework.context.SmartLifecycle
getPhase, isAutoStartup, stop
-
Method Details
-
setupReaderListener
-
getContainerProperties
-
destroy
default void destroy()- Specified by:
destroy
in interfaceDisposableBean
-
setAutoStartup
default void setAutoStartup(boolean autoStartup) -
setReaderCustomizer
Set a reader customizer on this container.- Parameters:
readerBuilderCustomizer
-ReaderBuilderCustomizer
-