Class CachingSSLContextFactory

java.lang.Object
org.apache.activemq.artemis.core.remoting.impl.ssl.DefaultSSLContextFactory
org.apache.activemq.artemis.core.remoting.impl.ssl.CachingSSLContextFactory
All Implemented Interfaces:
Comparable<SSLContextFactory>, SSLContextFactory

public class CachingSSLContextFactory extends DefaultSSLContextFactory
SSLContextFactory providing a cache of SSLContext. Since SSLContext should be reused instead of recreated and are thread safe. To activate it you need to allow this Service to be discovered by having a META-INF/services/org.apache.activemq.artemis.spi.core.remoting.ssl.SSLContextFactory file with org.apache.activemq.artemis.core.remoting.impl.ssl.CachingSSLContextFactory as value.
  • Constructor Details

    • CachingSSLContextFactory

      public CachingSSLContextFactory()
  • Method Details