@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 |
---|---|
javax.jms.ConnectionFactory |
connectionFactory() |
public JndiConnectionFactoryAutoConfiguration(JmsProperties properties)
@Bean public javax.jms.ConnectionFactory connectionFactory() throws NamingException
NamingException
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.