mirror of https://github.com/apache/activemq.git
AMQ-4799: ws/wss connectors should also log uri when starting like the others do.
This commit is contained in:
parent
5b5133c28b
commit
bc2bc86a1d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue