I am using TypedFactoryFacility to hook up wcf client proxies
container.Register(Component
.For<ITestServer>().AsWcfClient(new
DefaultClientModel
{
Endpoint =
WcfEndpoint.ForContract<ItestServer>().BoundTo(Buffered).
At(GetEndpoint())
}).LifestylePooled(2,5));
ITestServer is returned as part of IProxyProviders which is registered as
factory
container.Register(Component.For< IProxyProviders >().AsFactory());
Problem is it alwayes return same proxy instace form pool
I tries UsingFactoryMethod with no luck any pointer would be helpful
Thanks
--
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/castle-project-users/-/qaYQsicHH4QJ.
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.