Index: vhTest/Fake/AXimpl/MessageInProcessor/ExceptionLogger.cls.xml =================================================================== diff -u --- vhTest/Fake/AXimpl/MessageInProcessor/ExceptionLogger.cls.xml (revision 0) +++ vhTest/Fake/AXimpl/MessageInProcessor/ExceptionLogger.cls.xml (revision 50140) @@ -0,0 +1,18 @@ + + + + +Deze klasse werd automatisch gegenereerd en onderhouden, nieuwe methodes worden automatisch bijgevoegd, bestaande blijven zoals ze zijn. +Een hercompilatie van de basis interface - met een correct werkende studiohook ( v2.20 ++ ) - zorgt ervoor dat deze klasse aangepast wordt +1 +AXimpl.MessageInProcessor.ExceptionLogger + + +FullFilename:%String,Exception:TECH.IException + + + + + + Index: vhUnitTest/AXimpl/MessageInProcessor/ExceptionLogger/Test.cls.xml =================================================================== diff -u --- vhUnitTest/AXimpl/MessageInProcessor/ExceptionLogger/Test.cls.xml (revision 0) +++ vhUnitTest/AXimpl/MessageInProcessor/ExceptionLogger/Test.cls.xml (revision 50140) @@ -0,0 +1,32 @@ + + + +vhUnitTest.TestCase + + + + + + + + + + +Exception:TECH.Exceptions.Exception,VerwachteMethodCall:%String +1 + + + + + + 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 Index: vhTest/Mock/AXimpl/MessageInProcessor/ExceptionLogger.cls.xml =================================================================== diff -u --- vhTest/Mock/AXimpl/MessageInProcessor/ExceptionLogger.cls.xml (revision 0) +++ vhTest/Mock/AXimpl/MessageInProcessor/ExceptionLogger.cls.xml (revision 50140) @@ -0,0 +1,19 @@ + + + + +Deze klasse werd automatisch gegenereerd en onderhouden - lokale aanpassingen zijn niet nodig. +Een hercompilatie van de basis interface - met een correct werkende studiohook ( v2.20 ++ ) - zorgt ervoor dat deze klasse aangepast wordt +1 +AXimpl.MessageInProcessor.ExceptionLogger,Tools.Mock.MockClassBase +right + + +FullFilename:%String,Exception:TECH.IException + + + + + + Index: AXimpl/MessageInProcessor/ExceptionLogger.cls.xml =================================================================== diff -u --- AXimpl/MessageInProcessor/ExceptionLogger.cls.xml (revision 0) +++ AXimpl/MessageInProcessor/ExceptionLogger.cls.xml (revision 50140) @@ -0,0 +1,44 @@ + + + +TECH.Mockable + + +vhLib.Logger +1 + + + +Logger:vhLib.Logger="" +1 +1 +%Status +1 + + + + +FullFilename:%String,Exception:TECH.IException + + + + + + Index: vhUnitTest/AXimpl/MessageInProcessor/Verwerk/Test.cls.xml =================================================================== diff -u -r49693 -r50140 --- vhUnitTest/AXimpl/MessageInProcessor/Verwerk/Test.cls.xml (.../Test.cls.xml) (revision 49693) +++ vhUnitTest/AXimpl/MessageInProcessor/Verwerk/Test.cls.xml (.../Test.cls.xml) (revision 50140) @@ -392,6 +392,30 @@ ]]> + + + + 1