private class ImportTask implements Runnable {
public void run() {
while (registration != null) {
BlockingQueue<EndpointMatcher.ImportAction> queue = endpointMatcher.getImportQueue();
ImportAction action = null;
try {
action = queue.poll(1, TimeUnit.SECONDS);
} catch (InterruptedException e) {
// Ignore
}