Fixes CAMEL-10226: camel-jms ignores connection pool settings in spring-boot deployment.

This commit is contained in:
Hiram Chirino 2016-08-09 11:41:22 -04:00 committed by Claus Ibsen
parent a35371d880
commit 7216322ef9

View File

@ -297,4 +297,13 @@ 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.
* @return false
*/
public boolean getAllowAutoWiredConnectionFactory() {
return false;
}
}