Fixed new factory configuration. It was non optional which in result

will not work if the factory comes from another source, e.g. cloud
foundry.

Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com>
This commit is contained in:
Kai Zimmermann
2016-06-14 17:50:54 +02:00
parent 10e1a6c00b
commit a690ff2b70

View File

@@ -59,6 +59,7 @@ public class AmqpConfiguration {
private ConnectionFactory rabbitConnectionFactory;
@Configuration
@ConditionalOnMissingBean(ConnectionFactory.class)
protected static class RabbitConnectionFactoryCreator {
@Autowired