Interface ListenerContainerFactory<C extends MessageListenerContainer,E extends ListenerEndpoint<C>>
- Type Parameters:
C- message listener container type.E- listener endpoint type.
- All Superinterfaces:
PulsarContainerFactory<C,E>
- All Known Subinterfaces:
PulsarListenerContainerFactory
- All Known Implementing Classes:
AbstractPulsarListenerContainerFactory,ConcurrentPulsarListenerContainerFactory
public interface ListenerContainerFactory<C extends MessageListenerContainer,E extends ListenerEndpoint<C>>
extends PulsarContainerFactory<C,E>
Factory for Pulsar message listener containers.
-
Method Summary
Modifier and TypeMethodDescriptiondefault CcreateListenerContainer(E endpoint) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from interface org.springframework.pulsar.config.PulsarContainerFactory
createContainer, createRegisteredContainer
-
Method Details
-
createListenerContainer
Deprecated, for removal: This API element is subject to removal in a future version.since 1.2.0 for removal in 1.4.0 in favor ofPulsarContainerFactory.createRegisteredContainer(E)Create aMessageListenerContainerfor the givenListenerEndpoint. Containers created using this method are added to the listener endpoint registry.- Parameters:
endpoint- the endpoint to configure- Returns:
- the created container
-
PulsarContainerFactory.createRegisteredContainer(E)