接口的使用
org.springframework.jms.config.JmsListenerContainerFactory
使用JmsListenerContainerFactory的程序包 程序包 说明 org.springframework.jms.config Support package for declarative messaging configuration, with Java configuration and XML schema support.org.springframework.jms.config中JmsListenerContainerFactory的使用
实现JmsListenerContainerFactory的org.springframework.jms.config中的类 修饰符和类型 类 说明 class
AbstractJmsListenerContainerFactory<C extends AbstractMessageListenerContainer>
BaseJmsListenerContainerFactory
for Spring's base container implementation.class
DefaultJcaListenerContainerFactory
AJmsListenerContainerFactory
implementation to build a JCA-basedJmsMessageEndpointManager
.class
DefaultJmsListenerContainerFactory
AJmsListenerContainerFactory
implementation to build a regularDefaultMessageListenerContainer
.class
SimpleJmsListenerContainerFactory
AJmsListenerContainerFactory
implementation to build a standardSimpleMessageListenerContainer
.参数类型为JmsListenerContainerFactory的org.springframework.jms.config中的方法 修饰符和类型 方法 说明 protected MessageListenerContainer
JmsListenerEndpointRegistry. createListenerContainer(JmsListenerEndpoint endpoint, JmsListenerContainerFactory<?> factory)
Create and start a new container using the specified factory.void
JmsListenerEndpointRegistrar. registerEndpoint(JmsListenerEndpoint endpoint, JmsListenerContainerFactory<?> factory)
Register a newJmsListenerEndpoint
alongside theJmsListenerContainerFactory
to use to create the underlying container.void
JmsListenerEndpointRegistry. registerListenerContainer(JmsListenerEndpoint endpoint, JmsListenerContainerFactory<?> factory)
Create a message listener container for the givenJmsListenerEndpoint
.void
JmsListenerEndpointRegistry. registerListenerContainer(JmsListenerEndpoint endpoint, JmsListenerContainerFactory<?> factory, boolean startImmediately)
Create a message listener container for the givenJmsListenerEndpoint
.void
JmsListenerEndpointRegistrar. setContainerFactory(JmsListenerContainerFactory<?> containerFactory)
Set theJmsListenerContainerFactory
to use in case aJmsListenerEndpoint
is registered with anull
container factory.