AMQ-6694: Not possible to autowire connectionFactory in Spring Boot using SB starter

This commit is contained in:
Claus Ibsen 2017-07-22 16:10:39 +02:00
parent 9985b16247
commit bdad06fdca
1 changed files with 0 additions and 10 deletions

View File

@ -288,14 +288,4 @@ public class ActiveMQComponent extends JmsComponent implements EndpointCompleter
return answer; return answer;
} }
/**
* We don't want to ever auto-wire the connection factory from the spring app context (requires Camel 2.18 onwards)
*
* @return false
*/
@Override
public boolean isAllowAutoWiredConnectionFactory() {
return false;
}
} }