Index: AXimpl/MessageInProcessor.cls.xml
===================================================================
diff -u -r49618 -r49635
--- AXimpl/MessageInProcessor.cls.xml (.../MessageInProcessor.cls.xml) (revision 49618)
+++ AXimpl/MessageInProcessor.cls.xml (.../MessageInProcessor.cls.xml) (revision 49635)
@@ -28,8 +28,13 @@
1
+
+AXimpl.VerwerkBestandOpnieuwAanvraagRepository
+1
+
+
-FileAPI:TECH.File.FileAPI,XmlCorrelater:TECH.XMLCorrelater,EventRaiser:AXimpl.EventRaiser,ConfigIn:AXimpl.ConfigIn
+FileAPI:TECH.File.FileAPI,XmlCorrelater:TECH.XMLCorrelater,EventRaiser:AXimpl.EventRaiser,ConfigIn:AXimpl.ConfigIn,VerwerkBestandOpnieuwAanvraagRepository:AXimpl.VerwerkBestandOpnieuwAanvraagRepository
1
1
%Status
@@ -39,6 +44,7 @@
Set ..XmlCorrelater = $$$Inject(XmlCorrelater,##class(TECH.XMLCorrelater).%New())
Set ..EventRaiser = $$$Inject(EventRaiser,##class(AXimpl.EventRaiser).%New())
Set ..ConfigIn = $$$Inject(ConfigIn,##class(AXimpl.ConfigIn).%New())
+ Set ..VerwerkBestandOpnieuwAanvraagRepository = $$$Inject(VerwerkBestandOpnieuwAanvraagRepository,##class(VerwerkBestandOpnieuwAanvraagRepository).%New())
Set ..Logger = ##class(vhLib.Logger).%New()
quit $$$OK
@@ -79,6 +85,7 @@
Do ..EventRaiser.RaiseRequestReceivedEvent(SubPath,FullFilename,..FileAPI.GeefFileReader(FullFilename).GeefStream())
Do ..FileAPI.DeleteFile(FullFilename)
;eind verwerking
+ Do ..MarkeerVerwerkBestandOpnieuwAanvraagVerwerkt(FullFilename)
Set VerwerkVolgende = $$$False
}
Set VerwerkVolgende = $$$False
@@ -87,11 +94,13 @@
#dim Exception As TECH.IException = ##class(TECH.ExceptionHandler).Catch()
if Exception.%IsA(##class(AXimpl.VerwerkAXBerichtLaterOpnieuwException).%ClassName(1)) {
Do ..Logger.Info("Verwerk AX bericht '"_FullFilename_"' later opnieuw", Exception.ToString())
+ Do ..RegistreerVerwerkBestandOpnieuwAanvraag(FullFilename)
} else {
+ Set VerwerkVolgende = $$$False
Do ..LogException(FullFilename, Exception)
Do ..EventRaiser.RaiseCorruptedRequestReceivedEvent(FullFilename,..FileAPI.GeefFileReader(FullFilename).GeefStream())
Do ..MoveFileToErrorMap(FullFilename , SubPath)
- Set VerwerkVolgende = $$$False
+ Do ..MarkeerVerwerkBestandOpnieuwAanvraagVerwerkt(FullFilename)
}
} catch {
#dim InnerException As TECH.IException = ##class(TECH.ExceptionHandler).Catch()
@@ -141,6 +150,37 @@
Do ..Logger.ErrorMail("Verwerking inkomende AX bestand", ExceptionMessage)
]]>
+
+
+Filenaam:%String
+1
+
+
+
+
+Filenaam:%String
+1
+
+