Thomas Diesler created CAMEL-8339:
-------------------------------------
Summary: Usage of camel-mail depends on TCCL
Key: CAMEL-8339
URL: https://issues.apache.org/jira/browse/CAMEL-8339
Project: Camel
Issue Type: Bug
Components: camel-mail
Affects Versions: 2.14.1
Reporter: Thomas Diesler
javax.mail.Session uses TCCL to load resources
{code}
Thread.getContextClassLoader() line: 1432 [local variables unavailable]
Session$3.run() line: 1199
AccessController.doPrivileged(PrivilegedAction<T>) line: not available [native
method]
Session.getContextClassLoader() line: 1194
Session.loadAllResources(String, Class, StreamLoader) line: 1137
Session.loadProviders(Class) line: 917
Session.<init>(Properties, Authenticator) line: 216
Session.getInstance(Properties, Authenticator) line: 242
MailConfiguration.createJavaMailSender() line: 175
MailEndpoint.createProducer() line: 71
{code}
Both MailConfiguration & MailProducer seem to rely on this
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)