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; }
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 ()); }
public MessagingContext (MessageFactory factory, string host, CreateConnectionDelegate createConnection) { this.helper = factory; this.host = host; this.createConnection = createConnection; }