@Configuration(proxyBeanMethods=false) @AutoConfigureBefore(value=JmsAutoConfiguration.class) @ConditionalOnClass(value=org.springframework.jms.core.JmsTemplate.class) @ConditionalOnMissingBean(value=javax.jms.ConnectionFactory.class) @Conditional(value=org.springframework.boot.autoconfigure.jms.JndiConnectionFactoryAutoConfiguration.JndiOrPropertyCondition.class) @EnableConfigurationProperties(value=JmsProperties.class) public class JndiConnectionFactoryAutoConfiguration extends Object
Auto-configuration
for JMS provided from JNDI.Constructor and Description |
---|
JndiConnectionFactoryAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
ConnectionFactory |
jmsConnectionFactory(JmsProperties properties) |
public JndiConnectionFactoryAutoConfiguration()
@Bean public ConnectionFactory jmsConnectionFactory(JmsProperties properties) throws NamingException
NamingException
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.