예제 #1
0
 // Add properties used by the receiving consumer required for sending
 // the response to the reply queue.
 private void AppendRpcMessageProperties(MessageProperties msgProps, CreatedExchange createdExchange)
 {
     msgProps.ReplyTo       = ReplyToQueueName;
     msgProps.CorrelationId = msgProps.CorrelationId ?? Guid.NewGuid().ToString();
     msgProps.SetRpcReplyBusConfigName(_busName);
     msgProps.SetRpcActionNamespace(createdExchange.Definition.ActionNamespace);
 }