title: NHibernate session management in NServiceBus with Autofac
body: <p>Andreas Ohlund has an excellent article <a href="http://andreasohlund.blogspot.com/2010/02/nhibernate-session-management-in.html" rel="nofollow noreferrer">here</a> on how to use Structuremap to wire the NHibernate session so that it enlists in the NSB transaction automatically.</p>
  
  <p>Does anyone know if it is possible to achieve the same with Autofac?</p>