How to get data about changed Item from Handler used in messaging communication

I have registered receiver and handler works. This is in background plugin, plugin runs in EventServer, in Management Client I have a tree containing Items. Item has fields such as Enabled, Name, IP, port etc… When I change some field and save it, NETEYEConfigChangedHandler is properly invoked but inside handler I cant get information about Item being changed.

Also, I have checked all parameters of FQID of Item in Create method, and every Item has proper values.

neteyeConfigChangedObject = EnvironmentManager.Instance.RegisterReceiver(NETEYEConfigChangedHandler, new MessageIdAndRelatedKindFilter(MessageId.Server.ConfigurationChangedIndication, NETEYEDefinition.NETEYEKind));

.

.

.

private object NETEYEConfigChangedHandler(Message message, FQID dest, FQID sender)

{

// Here I want to get FQID or something that identifies changed Item.

//message.RelatedFQID.ObjectId.ToString() return all zeroes

// dest and sender are null

}

Unfortunately there is currently no message informing exactly which Item was changed. You will have to somehow find out this yourself - e.g. by keeping a cached version of your currently known configuration and compate with this. :frowning:

Yes, that was my first idea, but then I saw handler arguments and thought that EventHandler passes data about Item (inherited from EventArgs or something like that) but ok, first idea will work,..just I was interested in Handler because that would be an elegant solution, and faster :slight_smile:

Thanks for explanation.

Best regards