We are developing a plug-in using XPP + 2019R2.
When processing is performed according to the image in the attached file, the receiving plug-in does not receive the message thereafter.
There are three questions:
(a) Is this movement a specification of MIP SDK?
(b) If (a) is yes, is it possible to change the maximum processing time?
(c) Is it possible to confirm that this event has occurred with a log file or the like?
------------------------------------------
Sample Code,
■MessageSender (exe)
var msgKind = “testMsg”;
MessageCommunicationManager.Start(EnvironmentManager.Instance.MasterSite.ServerId);
var _messageCommunication = MessageCommunicationManager.Get(EnvironmentManager.Instance.MasterSite.ServerId);
_messageCommunication.TransmitMessage(
new VideoOS.Platform.Messaging.Message(msgKind)
{
Data = "test"
}
, null, null, null);
■MessageReciever(MIP Server Plugin)
MessageCommunicationManager.Start(EnvironmentManager.Instance.MasterSite.ServerId);
_messageCommunication = MessageCommunicationManager.Get(EnvironmentManager.Instance.MasterSite.ServerId);
_registerCommunicationFilterObjects.Add(
_messageCommunication.RegisterCommunicationFilter(
FuncitonMsgReceiver, new CommunicationIdFilter(messageId: “testMsg”)));
public object FuncitonMsgReceiver(VideoOS.Platform.Messaging.Message message, FQID sender, FQID related)
{
try
{
Thread.Sleep(300 \* 1000);
}
catch (Exception e)
{
}
return null;
}