Keith Babo created SWITCHYARD-630:
-------------------------------------
Summary: Application ClassLoader should be passed via deployer
Key: SWITCHYARD-630
URL:
https://issues.jboss.org/browse/SWITCHYARD-630
Project: SwitchYard
Issue Type: Enhancement
Components: component-camel, component-hornetq, component-soap, deployment
Reporter: Keith Babo
Fix For: 0.4
Several gateways are doing something like this to set the class loader for incoming
messages:
ClassLoader origCL = Thread.currentThread().getContextClassLoader();
try {
Thread.currentThread().setContextClassLoader(anotherCL);
}
finally {
Thread.currentThread().setContextClassLoader(origCL);
}
We should create a standard slot for the application loader and pass that in through init
in the component's activator (or something equivalent).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira