apply patch from AMQ-1098

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@728687 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2008-12-22 13:32:55 +00:00
parent e6a560d960
commit 14a98e7958
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,10 @@ public class HttpsTransportFactory extends HttpTransportFactory {
public TransportServer doBind(String brokerId, URI location) throws IOException { public TransportServer doBind(String brokerId, URI location) throws IOException {
return new HttpsTransportServer(location); return new HttpsTransportServer(location);
} }
public TransportServer doBind(URI location) throws IOException {
return new HttpsTransportServer(location);
}
protected Transport createTransport(URI location, WireFormat wf) throws MalformedURLException { protected Transport createTransport(URI location, WireFormat wf) throws MalformedURLException {
return new HttpsClientTransport(asTextWireFormat(wf), location); return new HttpsClientTransport(asTextWireFormat(wf), location);