public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn) { base.LooseUnmarshal(wireFormat, o, dataIn); ActiveMQMessage info = (ActiveMQMessage)o; info.BeforeUnmarshall(wireFormat); info.AfterUnmarshall(wireFormat); }