AMQ-4799: ws/wss connectors should also log uri when starting like the others do.

This commit is contained in:
Claus Ibsen 2013-10-11 16:34:29 +02:00
parent 5b5133c28b
commit bc2bc86a1d
1 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,8 @@ import org.eclipse.jetty.server.Connector;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.servlet.ServletContextHandler;
import org.eclipse.jetty.servlet.ServletHolder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Creates a web server and registers web socket server
@ -37,6 +39,8 @@ import org.eclipse.jetty.servlet.ServletHolder;
*/
public class WSTransportServer extends WebTransportServerSupport {
private static final Logger LOG = LoggerFactory.getLogger(WSTransportServer.class);
public WSTransportServer(URI location) {
super(location);
this.bindAddress = location;
@ -87,6 +91,8 @@ public class WSTransportServer extends WebTransportServerSupport {
boundTo.getPath(),
boundTo.getQuery(),
boundTo.getFragment()));
LOG.info("Listening for connections at {}", getConnectURI());
}
@Override