The NMS Class Library (.Net Messaging Library)

MessagePropertyHelper.GetObjectProperty Method 

public object GetObjectProperty(
   ActiveMQMessage message,
   string name
);

See Also

MessagePropertyHelper Class | ActiveMQ.OpenWire Namespace