Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8339

Usage of camel-mail depends on TCCL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.14.1
    • 2.14.2, 2.15.0
    • camel-mail
    • None
    • Unknown

    Description

      javax.mail.Session uses TCCL to load resources

      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	
      

      Both MailConfiguration & MailProducer seem to rely on this

      Attachments

        Activity

          People

            njiang Willem Jiang
            tdiesler Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: