Raven store is disposed when using StructureMap
The documentstore seems to be disposed even though its a singeton.
The SM documenation confirms that it shouldn't be disposed http://codebetter.com/jeremymiller/2010/02/10/nested-containers-in-structuremap-2-6-1/
Have you reproduced this?
On Jan 21, 2012, at 9:36 AM, Andreas Ö[email protected] wrote:
The documentstore seems to be disposed even though its a singeton.
The SM documenation confirms that it shouldn't be disposed http://codebetter.com/jeremymiller/2010/02/10/nested-containers-in-structuremap-2-6-1/
Reply to this email directly or view it on GitHub: https://github.com/NServiceBus/NServiceBus/issues/186
Yes, run the pubsub sample with the sm builder
Sent from my iPhone
On 21 jan 2012, at 18:16, Jonathan Matheus [email protected] wrote:
Have you reproduced this?
On Jan 21, 2012, at 9:36 AM, Andreas Ö[email protected] wrote:
The documentstore seems to be disposed even though its a singeton.
The SM documenation confirms that it shouldn't be disposed http://codebetter.com/jeremymiller/2010/02/10/nested-containers-in-structuremap-2-6-1/
Reply to this email directly or view it on GitHub: https://github.com/NServiceBus/NServiceBus/issues/186
Reply to this email directly or view it on GitHub: https://github.com/NServiceBus/NServiceBus/issues/186#issuecomment-3597414
And it only occurs if we register the raven uow. So it seems that when the uow gets disposed the store is disposed as well
Sent from my iPhone
On 21 jan 2012, at 18:16, Jonathan Matheus [email protected] wrote:
Have you reproduced this?
On Jan 21, 2012, at 9:36 AM, Andreas Ö[email protected] wrote:
The documentstore seems to be disposed even though its a singeton.
The SM documenation confirms that it shouldn't be disposed http://codebetter.com/jeremymiller/2010/02/10/nested-containers-in-structuremap-2-6-1/
Reply to this email directly or view it on GitHub: https://github.com/NServiceBus/NServiceBus/issues/186
Reply to this email directly or view it on GitHub: https://github.com/NServiceBus/NServiceBus/issues/186#issuecomment-3597414