问题
I'm using WCF through Spring.net WCF integration link text
This works relatively fine, however it seems that WCF and Spring get in each other's way when instantiating client channels. This means that only a single client channel is created for a service and therefore the clients get a timeout after the configured timeout is expired since the same client channel has been open since it was instantiated by Spring.
To make the matters worst, once a channel goes to a fault state, it affect all users of that service since spring doesn't create a new channel for each user.
Has anyone managed to use WCF and Spring.net work together without these issues?
回答1:
I've created a small library to help you with Spring.NET in these circumstances. You can find the svn repo here. More info can be found on my blog.
来源:https://stackoverflow.com/questions/1536623/client-timeout-when-using-wcf-through-spring-net