Skip to content
Snippets Groups Projects
Commit fe6d6e0e authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5156 Accept FIM messages in XTA adapter

more debug log output
parent 6540e9eb
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ import de.ozgcloud.eingang.common.formdata.FormHeader;
import de.ozgcloud.eingang.common.formdata.IncomingFile;
import de.ozgcloud.eingang.semantik.enginebased.EngineBasedSemantikAdapter;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.w3c.dom.Document;
......@@ -18,7 +19,7 @@ import java.util.Optional;
@Log4j2
@Component
public class FimBasedAdapter implements EngineBasedSemantikAdapter {
public class FimBasedAdapter implements EngineBasedSemantikAdapter, InitializingBean {
static final String FIM_FORM_ENGINE_NAME = "FIM";
......@@ -73,4 +74,9 @@ public class FimBasedAdapter implements EngineBasedSemantikAdapter {
final DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
return builder.parse(incomingFile.getContentStream());
}
@Override
public void afterPropertiesSet() throws Exception {
LOG.debug("Bean for FIMBasedMapper created");
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment