我使用下面的代码调用演员无状态的服务:如何向Actor应用程序添加监听器?
ICarUpdate carUpdate = ServiceProxy.Create<ISampleInterface>(new Uri("fabric:/App/Car"));
await carUpdate.ProcessCarUpdate();
现在,当ProcessCarUpdate()被调用我得到的错误:“分区的主要或无国籍实例具有无效地址“
解决这一点,我们必须添加监听器,The primary or stateless instance for the partition has invalid address
但这种方法(CreateServiceReplicaListeners)VI在无法从演员覆盖到远程注册。
当我们想要从演员到服务的远程通话时,我们该怎么做?
莫非你请写一个服务之间通信的例子?谁不知道谁叫谁。 – cassandrad
@ cassandrad:更新了问题,请看看。 – Vinodh