Package org.apache.activemq.transport.tcp

Examples of org.apache.activemq.transport.tcp.SslTransportFactory


        if (!brokerURL.getScheme().equals("ssl")) {
            return super.createTransport();
        }

        try {
            SslTransportFactory sslFactory = new SslTransportFactory();
            SslContext ctx = new SslContext(keyManager, trustManager, secureRandom);
            SslContext.setCurrentSslContext(ctx);
            return sslFactory.doConnect(brokerURL);
        } catch (Exception e) {
            throw JMSExceptionSupport.create("Could not create Transport. Reason: " + e, e);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.activemq.transport.tcp.SslTransportFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.