這在以前滷麪的(< = 0.84.0)版本中的TransactionScope發送的信息是可能的,如果範圍完成 using (var scope = new TransactionScope())
{
var ctx = new AmbientTransactionContext();
sender.Send(recipient.InputQueue, msg, ctx);
我有這樣的代碼來模擬一個Rebus MessageContext的 IBus fakeBus;
IMessageContext messageContext;
[TestInitialize]
public void TestInitialize()
{
fakeBus = new FakeBus();
var mock = new
我想使用rebus實現以下場景。我正在創建發件人應用程序和一個接收應用程序。將會有一個類假設 public class GetPersonRequest
{
public int Id { get; set; }
public string Name { get; set; }
}
public class GetPersonResponse