Saturday 4 May 2013

Fix for NServiceBus testing.

Looks like the issue I had with NSB testing may not have been the Unobtrusive messages.

What I’ve ended up having to do is this.

   1:  MessageConventionExtensions.IsMessageTypeAction =
   2:                  t => t.Namespace != null && t.Namespace.EndsWith("Messages") && !t.Namespace.StartsWith("NServiceBus");
   3:  Test.Initialize();

No comments:

Post a Comment