Merge pull request #208 from bsinno/fix_optional_rabbit_factory
Fixed new factory configuration.
This commit is contained in:
@@ -59,6 +59,7 @@ public class AmqpConfiguration {
|
|||||||
private ConnectionFactory rabbitConnectionFactory;
|
private ConnectionFactory rabbitConnectionFactory;
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
|
@ConditionalOnMissingBean(ConnectionFactory.class)
|
||||||
protected static class RabbitConnectionFactoryCreator {
|
protected static class RabbitConnectionFactoryCreator {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|||||||
Reference in New Issue
Block a user