public RabbitMQMessageQueue (RabbitMQMessagingProvider provider,
		                             QueueReference qRef, 
		                             bool transactional)
		{
			this.provider = provider;
			this.helper = new MessageFactory (provider);
			this.qRef = qRef;
			this.transactional = transactional;
		}
		public RabbitMQMessageEnumerator (MessageFactory helper,
		                                  QueueReference qRef) {
			this.helper = helper;
			this.qRef = qRef;
		}
Example #3
0
		public MessagingContextPool (MessageFactory messageFactory, 
									 CreateConnectionDelegate createConnectionDelegate)
		{
			this.messageFactory = messageFactory;
			this.createConnectionDelegate = createConnectionDelegate;
		}
		public void SetUp ()
		{
			connectionMock = new DynamicMock (typeof (IConnection));
			connection = (IConnection) connectionMock.MockInstance;
			messageFactory = new MessageFactory (new RabbitMQMessagingProvider ());
		}
Example #5
0
		public MessagingContext (MessageFactory factory, string host, CreateConnectionDelegate createConnection)
		{
			this.helper = factory;
			this.host = host;
			this.createConnection = createConnection;
		}