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
,ReactivePulsarListenerContainerFactory<T>
- All Known Implementing Classes:
AbstractPulsarListenerContainerFactory
,ConcurrentPulsarListenerContainerFactory
,DefaultReactivePulsarListenerContainerFactory
public interface ListenerContainerFactory<C extends MessageListenerContainer,E extends ListenerEndpoint<C>>
extends PulsarContainerFactory<C,E>
Factory for Pulsar message listener containers.
- Author:
- Soby Chacko, Christophe Bornet, Chris Bono
-
Method Summary
Modifier and TypeMethodDescriptiondefault C
createListenerContainer
(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 aMessageListenerContainer
for 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)