mirror of https://github.com/apache/activemq.git
AMQ-6694: Not possible to autowire connectionFactory in Spring Boot using SB starter
This commit is contained in:
parent
9985b16247
commit
bdad06fdca
|
@ -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;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue