public void PublishStructureMainQueueTest() { var message = new MessageDataConcrete() { Prop0 = "unit test property one", Prop1 = "unit test property two" }; Factory.Sender.publishStructureMessage("unit test action!", message); }
public void PublishCustomExchangeTest() { Factory.GetSenderCustomExchange("customExchange1").publishMessage("queue1 unit test hello"); var message = new MessageDataConcrete() { Prop0 = "unit test property one", Prop1 = "unit test property two" }; Factory.GetSenderCustomExchange("customExchange1") .publishStructureMessage("exchange1 unit test hello", message); Factory.GetSenderCustomExchange("customExchange2") .publishMessage("queue2 unit test hello"); }