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