resourceFetcher = system.actorOf(new Props(new UntypedActorFactory() {
public UntypedActor create() {
return new ResourceFetcher(client);
}
}).withRouter(new FromConfig()), "ckanResourceFetcher");
zipResourceFetcher = system.actorOf(new Props(new UntypedActorFactory() {
public UntypedActor create() {
return new ZipResourceFetcher(client);
}
}).withRouter(new FromConfig()), "ckanZipResourceFetcher");
metadataPersist = system.actorOf(new Props(new UntypedActorFactory() {
public UntypedActor create() {
return new MetadataPersist(client);
}
}).withRouter(new FromConfig()), "ckanMetadataPersist");
metadataFetcher = system.actorOf(new Props(MetadataFetcher.class).withRouter(new FromConfig()), "ckanMetadataFetcher");
datasetListFetcher = system.actorOf(new Props(DatasetListFetcher.class), "ckanDatasetListFetcher");
}