Class JndiConnectionFactoryAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.jms.JndiConnectionFactoryAutoConfiguration
@AutoConfiguration(before=JmsAutoConfiguration.class)
@ConditionalOnClass(org.springframework.jms.core.JmsTemplate.class)
@ConditionalOnMissingBean(jakarta.jms.ConnectionFactory.class)
@Conditional(org.springframework.boot.autoconfigure.jms.JndiConnectionFactoryAutoConfiguration.JndiOrPropertyCondition.class)
@EnableConfigurationProperties(JmsProperties.class)
public class JndiConnectionFactoryAutoConfiguration
extends Object
Auto-configuration
for JMS provided from JNDI.- Since:
- 1.2.0
- Author:
- Phillip Webb
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
JndiConnectionFactoryAutoConfiguration
public JndiConnectionFactoryAutoConfiguration()
-
-
Method Details
-
jmsConnectionFactory
@Bean public ConnectionFactory jmsConnectionFactory(JmsProperties properties) throws NamingException - Throws:
NamingException
-