Very old thread - but just in case someone comes accross this!

SSLContext ctx = SSLContext.getInstance("TLS"); // for nio 
ctx.init(getKeyManager(), getTrustManager(), new SecureRandom());
SSLContext.setDefault(ctx);

Note javax.net.ssl.SSLContext and NOT org.apache.activemq.broker.SslContext



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reply via email to