클라이언트에서 WCF 백업 목록을 정의하여 단일 지점의 라우팅 서비스가 네사 사리가되지 않도록 할 수 있습니까?클라이언트의 WCF 라우팅 백업 목록
동일한 연락처 (인터페이스)를 구현하는 두 가지 서비스가 있습니다. 첫 번째 서비스가 사용 가능하지 않다면 클라이언트에게 백업 서비스가 사용된다는 것을 알리고 싶습니다.
가능합니까? 아니면 클라이언트와 통신 할 라우팅 서비스 (단일 지점)를 만들어야합니까?
<client>
<endpoint address="http://localhost:49192/OrdinaryCustomerService.svc"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ICustomer"
contract="OrdinaryCustomerServiceReference.ICustomer" name="OrdinaryCustomerService" />
<endpoint address="http://localhost:49860/PremiumCustomerService.svc"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ICustomer"
contract="PremiumCustomerServiceReference.ICustomer" name="PremiumCustomerService" />
</client>
<routing>
<backupLists>
<backupList name="CustomerBackupList">
<add endpointName="PremiumCustomerService"/>
</backupList>
</backupLists>
</routing>