I'm using Castle Windsor WCF Facility. The docs say:
If you are switching from WCF activation to Windsor's WcfFacility, please make sure to remove the ServiceBehavior attribute from service type.
How can I then control the concurrency mode?
In vanilla WCF I'd do:
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession, ConcurrencyMode = ConcurrencyMode.Multiple)]
It seems that with WCF Facility the concurrence mode is set to Single and I can't find a way to change it.
EDIT: The client calls asynchronously BeginFoo method and the call is not blocking on client side. I put logging at the beginning and at the end of the BeginFoo method. The logs indicate that the server call enters and exits BeginFoo method only once at a time.
The following client calls get magically queued.