Пример #1
0
 public EsbMessage(string queueName, string header, string messageBody)
 {
     MessageBody    = new EsbMessageBody(header, messageBody);
     QueueName      = queueName;
     ReceiveTimeout = TimeSpan.FromSeconds(5);
 }
Пример #2
0
 public EsbMessage(string queueName, string header, string messageBody, TimeSpan receiveTimeout)
 {
     MessageBody    = new EsbMessageBody(header, messageBody);
     QueueName      = queueName;
     ReceiveTimeout = receiveTimeout;
 }