Monthly Archives: February 2010

NHibernate session management in NServiceBus

Edit: If you’re on the trunk version of NServiceBus there is a better way to manage the session using the child container feature. This post explains how to manage the NHibernate session when using NServiceBus. In NServiceBus each message becomes a unit of work so the recommendation is to use a new session for each [...]

Posted in NHibernate, NServiceBus, StructureMap | Comments closed