So:
create a new channel (something like NewChannel := MyChannel.ClassType.Create)
clone the message and assign the new channel to the massage.
It’s ok to use the same Server?
thanks
Ok, so I am doing something wrong here as I get an invalid pointer operation when I call a service method. My code is like this. It is on a datamodule and ROLocalChannel and ROLocalMessage (TROBinMessage) are on the module.
It seems that the Clone method does instantiate the Serializer when it gets to TROBinMessage.Initialize the call to Serializer to SetStorageRef has fSerializer = nil.