GitHub user johnpoth opened a pull request:
https://github.com/apache/camel/pull/2146
[CAMEL-12082] Set the TCCL to the application classloader when executâ¦
â¦ing local route commands
https://issues.apache.org/jira/browse/CAMEL-12082
This is similar to what's being done in
[AbstractContexCommand](https://github.com/apache/camel/blob/792ce5c5cc0af486b39471cf68206a2e95d3a037/platforms/commands/commands-core/src/main/java/org/apache/camel/commands/AbstractContextCommand.java#L63)
and
[DefaultCamelContext](https://github.com/apache/camel/blob/bb39dc44d9603c0e6fce2460ddf35a7b94ca30d4/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java#L3264)
Thanks!
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/johnpoth/camel CAMEL-12082
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2146.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2146
----
commit 0572728f52a2d546cb7c0208c84108c8556643fe
Author: jpoth <[email protected]>
Date: 2017-12-13T17:00:56Z
[CAMEL-12082] Set the TCCL to the application classloader when executing
local route commands
----
---