use of org.apache.activemq.transport.TransportLogger in project activemq-artemis by apache.
the class TcpTransportServerTest method hasTransportLogger.
private boolean hasTransportLogger(Transport transport) {
boolean end = false;
Transport current = transport;
while (!end) {
if (current instanceof TransportFilter) {
TransportFilter filter = (TransportFilter) current;
if (filter instanceof TransportLogger) {
return true;
}
current = filter.getNext();
} else {
end = true;
}
}
return false;
}
Aggregations