1 18 package org.apache.activemq.transport.https; 19 20 import org.apache.activemq.transport.http.HttpJmsSendAndReceiveTest; 21 22 25 public class HttpsJmsSendAndReceiveTest extends HttpJmsSendAndReceiveTest { 26 27 protected void setUp() throws Exception { 28 System.setProperty("javax.net.ssl.trustStore", "src/test/resources/client.keystore"); 29 System.setProperty("javax.net.ssl.trustStorePassword", "password"); 30 System.setProperty("javax.net.ssl.trustStoreType", "jks"); 31 System.setProperty("javax.net.ssl.keyStore", "src/test/resources/server.keystore"); 32 System.setProperty("javax.net.ssl.keyStorePassword", "password"); 33 System.setProperty("javax.net.ssl.keyStoreType", "jks"); 34 super.setUp(); 35 } 36 37 protected String getBrokerURL() { 38 return "https://localhost:8161"; 39 } 40 } 41 | Popular Tags |