title: ActiveMQ support for TLSv1.2
body: <p>I'm trying to get ActiveMQ to support a TLSv1.2.  I'm using activemq v5.14.5.  The fix talked about in <a href="https://stackoverflow.com/questions/36870380/create-activemq-connection-on-tls1-2">Create ActiveMQ Connection on TLS1.2</a> did not work.  When I stepped through the code I see that the </p>
  
  <pre><code>        context.setSSLContext(sslContext);
          SslContext.setCurrentSslContext(context);
          Connection connection = factory.createConnection(loginName, pwd);
  </code></pre>
  
  <p>call to factory.createConnection() actually doesn't use the value that was just set, but instead creates a new SSL context using the hard coded default of "TLS".  I observed this in the debugger.</p>
  
  <p>Any other suggestions are welcome.  I think the topic "configuring transports" at <a href="http://activemq.apache.org/configuring-transports.html" rel="nofollow noreferrer">http://activemq.apache.org/configuring-transports.html</a> may hold the solution but I haven't tried it yet.</p>