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
parent 4800a7a1a4
commit 50dc5864fd
1 changed files with 9 additions and 0 deletions

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;
}
}