Repository: activemq Updated Branches: refs/heads/activemq-5.15.x e7956b527 -> ae66f964e refs/heads/master 9985b1624 -> bdad06fdc
AMQ-6694: Not possible to autowire connectionFactory in Spring Boot using SB starter Project: http://git-wip-us.apache.org/repos/asf/activemq/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/bdad06fd Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/bdad06fd Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/bdad06fd Branch: refs/heads/master Commit: bdad06fdca98f161aefbd23e2c983a0d8c60898f Parents: 9985b16 Author: Claus Ibsen <[email protected]> Authored: Sat Jul 22 16:10:39 2017 +0200 Committer: Claus Ibsen <[email protected]> Committed: Sat Jul 22 16:10:39 2017 +0200 ---------------------------------------------------------------------- .../activemq/camel/component/ActiveMQComponent.java | 10 ---------- 1 file changed, 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq/blob/bdad06fd/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQComponent.java ---------------------------------------------------------------------- diff --git a/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQComponent.java b/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQComponent.java index 440b46a..047604c 100644 --- a/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQComponent.java +++ b/activemq-camel/src/main/java/org/apache/activemq/camel/component/ActiveMQComponent.java @@ -288,14 +288,4 @@ public class ActiveMQComponent extends JmsComponent implements EndpointCompleter 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; - } - }
