Index: AXimpl/MessageInProcessor.cls.xml =================================================================== diff -u -r50138 -r50140 --- AXimpl/MessageInProcessor.cls.xml (.../MessageInProcessor.cls.xml) (revision 50138) +++ AXimpl/MessageInProcessor.cls.xml (.../MessageInProcessor.cls.xml) (revision 50140) @@ -38,8 +38,13 @@ 1 + +AXimpl.MessageInProcessor.ExceptionLogger +1 + + -FileApi:TECH.File.FileAPI="",XmlCorrelater:TECH.XMLCorrelater="",EventRaiser:AXimpl.EventRaiser="",ConfigIn:AXimpl.ConfigIn="",VerwerkBestandOpnieuwAanvraagRepository:AXimpl.VerwerkBestandOpnieuwAanvraagRepository="",MailApi:TECH.Mail.MailAPI="" +FileApi:TECH.File.FileAPI="",XmlCorrelater:TECH.XMLCorrelater="",EventRaiser:AXimpl.EventRaiser="",ConfigIn:AXimpl.ConfigIn="",VerwerkBestandOpnieuwAanvraagRepository:AXimpl.VerwerkBestandOpnieuwAanvraagRepository="",MailApi:TECH.Mail.MailAPI="",ExceptionLogger:AXimpl.MessageInProcessor.ExceptionLogger="" 1 1 %Status @@ -52,6 +57,7 @@ Set ..VerwerkBestandOpnieuwAanvraagRepository = $$$Inject(VerwerkBestandOpnieuwAanvraagRepository, ##class(VerwerkBestandOpnieuwAanvraagRepository).%New()) Set ..Logger = ##class(vhLib.Logger).%New() Set ..MailApi = $$$Inject(MailApi, ##class(TECH.Context).Instance().GeefMailAPI()) + Set ..ExceptionLogger = $$$Inject(ExceptionLogger, ##class(AXimpl.MessageInProcessor.ExceptionLogger).%New()) Quit $$$OK ]]> @@ -105,7 +111,7 @@ Do ..RegistreerVerwerkBestandOpnieuwAanvraag(FullFilename) } Else { Set VerwerkVolgende = $$$False - Do ..LogException(FullFilename, Exception) + Do ..ExceptionLogger.LogException(FullFilename, Exception) Do ..EventRaiser.RaiseCorruptedRequestReceivedEvent(FullFilename, ..FileApi.GeefFileReader(FullFilename).GeefStream()) Do ..MoveFileToErrorMap(FullFilename , SubPath) Do ..MarkeerVerwerkBestandOpnieuwAanvraagVerwerkt(FullFilename) @@ -148,18 +154,6 @@ ]]> - -FullFilename:%String,Exception:TECH.IException -1 - - - Filenaam:%String 1