Hi,
We are implementing paired namespace in our application to increase service bus availability and we want to test this configuration. I am not able to simulate service bus fail over to test paired namespace configuration, please suggest if there is any way to simulate service bus fail over.
I am using following code to configure paired namespace
NamespaceManager primaryNM = NamespaceManager.CreateFromConnectionString("...");
MessagingFactory primaryMF = ...
NamespaceManager secondaryNM= NamespaceManager.CreateFromConnectionString("...");
MessagingFactory secondaryMF = ...
SendAvailabilityPairedNamespaceOptions sao=
new SendAvailabilityPairedNamespaceOptions(secondaryNamespaceManager, secondaryMF, 10, TimeSpan.FromSeconds(30), true);
primaryMF.PairNamespaceAsync(sao).Wait();
Thanks,
Nitesh Bajpai