Thanks Krzysztof
Where do I find CloseTimeout?

This is my registration

Component.For<IArchiveService>()
                        
.ImplementedBy<ArchiveService>().LifeStyle.PerWcfSession()
                        .ActAs(new DefaultServiceModel().AddEndpoints(
                                WcfEndpoint.BoundTo(new NetTcpBinding())
                                    .At("net.tcp://localhost:7601/Kernel"),
                                WcfEndpoint.FromEndpoint(new 
UdpDiscoveryEndpoint())
                                   )

Adam Langley

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Krzysztof Kozmic
Sent: Friday, 12 November 2010 10:57 a.m.
To: [email protected]
Subject: Re: Windsor container cannot be disposed when WCFFacility has open 
client connection

Set CloseTimeout to 0 or some other small value.

On 12/11/2010 7:56 AM, Adam Langley wrote:
> I have a WindsorContainer which has published a WCF endpoint using the
> WCF Facility.
> A client has connected and made a WCF request, which has been serviced,
> but the endpoint is being held open by the client... as it may make
> further requests.
> I want to shutdown the server, so I call Dispose() on the
> WindsorContainer, but it just blocks UNTIL all clients are closed.
>
> How can I terminate these connections from the WindsorContainer on the
> server (the WCF service lifestyle is PerWcfSession... one session per
> client).
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to