You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by da...@apache.org on 2017/07/22 14:22:46 UTC

[2/2] activemq git commit: AMQ-6694: Not possible to autowire connectionFactory in Spring Boot using SB starter

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/ae66f964
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/ae66f964
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/ae66f964

Branch: refs/heads/activemq-5.15.x
Commit: ae66f964ec7d03e282d42fda3be8b59bedcfa773
Parents: e7956b5
Author: Claus Ibsen <cl...@gmail.com>
Authored: Sat Jul 22 16:10:39 2017 +0200
Committer: Claus Ibsen <cl...@gmail.com>
Committed: Sat Jul 22 16:22:08 2017 +0200

----------------------------------------------------------------------
 .../activemq/camel/component/ActiveMQComponent.java       | 10 ----------
 1 file changed, 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/ae66f964/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;
-    }
-
 }