Beispiel #1
0
        protected IDisposable EstablishMessageContext()
        {
            var headers = new Dictionary <string, object>
            {
                { Headers.ReturnAddress, "none" },
                { Headers.MessageId, "just_some_message_id" },
            };

            var result = new NoTransaction();

            //_messageContext = _MessageContextEstablishAccessor(headers);
            Disposables.TrackDisposable(EnterAFakeMessageContext(headers: headers));

            return(result);
        }
Beispiel #2
0
 public new void SetUp()
 {
     DropSagaTables();
     Disposables.TrackDisposable(EstablishMessageContext());             //< Initial (fake) message under each test will run.
 }