Inheritance: ActiveMQMessage, IObjectMessage
Ejemplo n.º 1
0
 public IObjectMessage CreateObjectMessage(object body)
 {
     ActiveMQObjectMessage answer = new ActiveMQObjectMessage();
     answer.Body = body;
     return ConfigureMessage(answer) as IObjectMessage;
 }
 protected override IObjectMessage DoCreateObjectMessage()
 {
     ActiveMQObjectMessage message = new ActiveMQObjectMessage();
     message.Connection = this.connection;
     return message;
 }
        public void TestObjectMessageTransformation()
        {
            ActiveMQObjectMessage message = new ActiveMQObjectMessage();

            Assert.AreSame(message, transformer.TransformMessage<ActiveMQMessage>(message));
        }