Apache.NMS.ActiveMQ.Test.PrefetchSizeZeroTest.SendMessage C# (CSharp) Méthode

SendMessage() protected méthode

protected SendMessage ( IMessageProducer producer ) : void
producer IMessageProducer
Résultat void
        protected void SendMessage(IMessageProducer producer)
        {
            IMessage request = producer.CreateMessage();
            request.NMSType = "Test";
            producer.Send(request);
        }