@Configuration @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(JmsProperties properties) |
Modifier and Type | Method and Description |
---|---|
ConnectionFactory |
connectionFactory() |
public JndiConnectionFactoryAutoConfiguration(JmsProperties properties)
@Bean public ConnectionFactory connectionFactory() throws NamingException
NamingException
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.