Exemple #1
0
        public void SetUp()
        {
            var participant = new StubParticipant();

            _server = new JsonAmqpRpcServer("localhost", "QUEUE_NAME", new ParticipantHandler(participant));
            _server.Start();
            _client = new JsonAmqpRpcClient("localhost", "QUEUE_NAME");
        }
Exemple #2
0
 public void ShouldThrowInvalidOperationExceptionIfStartCalledMultipleTimes()
 {
     _server.Start();
 }
 public void SetUp()
 {
     var participant = new StubParticipant();
     _server = new JsonAmqpRpcServer("localhost", "QUEUE_NAME", new ParticipantHandler(participant));
     _server.Start();
     _client = new JsonAmqpRpcClient("localhost", "QUEUE_NAME");
 }