This commit is contained in:
Stephane Nicoll 2019-07-22 13:17:51 +02:00
parent 657411d8d1
commit 3c7ac4fe7f
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class ActiveMQConnectionFactoryConfiguration {
.createConnectionFactory(ActiveMQConnectionFactory.class);
}
@Configuration
@ConditionalOnClass(CachingConnectionFactory.class)
@ConditionalOnProperty(prefix = "spring.jms.cache", name = "enabled", havingValue = "true",
matchIfMissing = true)