Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
.DefiningCommandsAs(t => t.Namespace != null && t.Namespace.EndsWith("Commands"))
.DefiningEventsAs(t => t.Namespace != null && t.Namespace.EndsWith("Events"))
.DefiningMessagesAs(t => t.Namespace != null && t.Namespace.EndsWith("Messages"))
.DefiningEncryptedPropertiesAs(p => p.Name.StartsWith("Encrypted"));

ghost commented Jan 11, 2013

Hi Andreas,

This should be updated as Namespace.EndsWith("Messages") leads to a namespace clash with NSB itself.

As explined here:


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment