Exemplo n.º 1
0
        public void Send(params object[] msgs)
        {
            var endpoint = messageOwners.GetEndpointForMessageBatch(msgs);

            using (var queue = endpoint.InitalizeQueue())
            {
                var message = messageBuilder.BuildFromMessageBatch(msgs);
                queue.SendInSingleTransaction(message);
            }
        }
Exemplo n.º 2
0
        public void Send(params object[] msgs)
        {
            var endpoint           = messageOwners.GetEndpointForMessageBatch(msgs);
            var messageInformation = new OutgoingMessageInformation
            {
                Destination = endpoint,
                Messages    = msgs,
            };

            using (var queue = endpoint.InitalizeQueue())
            {
                var message = messageBuilder.BuildFromMessageBatch(messageInformation);
                queue.SendInSingleTransaction(message);
            }
        }
Exemplo n.º 3
0
 public void Send(params object[] msgs)
 {
     base.Send(messageOwners.GetEndpointForMessageBatch(msgs), msgs);
 }