NHibernateSagaPersister and session context

Hi Diego

Unfortunately the version of NServiceBus you are referring to is no longer supported. I did a quick glance through the code though and it seems it was hardcoded

I can only imagine it is because for the message handling pipeline ThreadStaticSessionContext was the only context that made sense because a message was handled on a dedicated thread. Therefore session context would not overlap. To me it seems the WebSessionContext only makes sense when using a web application to send messages but not receive them.

Regards
Daniel

1 Like