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

This commit is contained in:
Claus Ibsen 2016-08-10 10:47:18 +02:00
parent 50dc5864fd
commit 4437393aa1
1 changed files with 3 additions and 2 deletions

View File

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