The Databus Mods Spring addon allows you to build Databus Mods with Spring Boot.
@SpringBootApplication@Import({org.dbpedia.databus_mods.lib.worker.PollingAPIWorker.class})publicclassBoot { @ComponentpublicclassMyModActivityimplementsModActivity {publicvoidperform(ModActivityBuilder mab) {extension.setType("http://my.domain/ns#DatabusMod"); val sourceURI =mab.getSourceURI();// TODO process data from sourceURIFile modResultFile =extension.createModResult("modresult.extension");// TODO write to modResultFile } }publicstaticvoidmain(String[] args) {SpringApplication.run(Boot.class); }}