diff --git a/activemq-optional/src/main/java/org/apache/activemq/transport/https/HttpsTransportFactory.java b/activemq-optional/src/main/java/org/apache/activemq/transport/https/HttpsTransportFactory.java index b2e035500b..2dd05f8313 100644 --- a/activemq-optional/src/main/java/org/apache/activemq/transport/https/HttpsTransportFactory.java +++ b/activemq-optional/src/main/java/org/apache/activemq/transport/https/HttpsTransportFactory.java @@ -35,6 +35,10 @@ public class HttpsTransportFactory extends HttpTransportFactory { public TransportServer doBind(String brokerId, URI location) throws IOException { return new HttpsTransportServer(location); } + + public TransportServer doBind(URI location) throws IOException { + return new HttpsTransportServer(location); + } protected Transport createTransport(URI location, WireFormat wf) throws MalformedURLException { return new HttpsClientTransport(asTextWireFormat(wf), location);