public MsSqlMessageConsumer( MsSqlMessagingGatewayConfiguration msSqlMessagingGatewayConfiguration, string topic, IMsSqlMessagingGatewayConnectionFactory connectionFactory) { _topic = topic ?? throw new ArgumentNullException(nameof(topic)); _sqlQ = new MsSqlMessageQueue <Message>(msSqlMessagingGatewayConfiguration, connectionFactory); }
public MsSqlMessageConsumer( MsSqlConfiguration msSqlConfiguration, string topic, IMsSqlConnectionProvider connectionProvider) { _topic = topic ?? throw new ArgumentNullException(nameof(topic)); _sqlQ = new MsSqlMessageQueue <Message>(msSqlConfiguration, connectionProvider); }
private Publication _publication; // -- placeholder for future use public MsSqlMessageProducer( MsSqlMessagingGatewayConfiguration msSqlMessagingGatewayConfiguration, Publication publication = null) { _sqlQ = new MsSqlMessageQueue <Message>(msSqlMessagingGatewayConfiguration); _publication = publication ?? new Publication() { MakeChannels = OnMissingChannel.Create }; }
private Publication _publication; // -- placeholder for future use public MsSqlMessageProducer( MsSqlMessagingGatewayConfiguration msSqlMessagingGatewayConfiguration, Publication publication = null) { _sqlQ = new MsSqlMessageQueue <Message>(msSqlMessagingGatewayConfiguration); _publication = publication ?? new Publication() { MakeChannels = OnMissingChannel.Create }; MaxOutStandingMessages = _publication.MaxOutStandingMessages; MaxOutStandingCheckIntervalMilliSeconds = _publication.MaxOutStandingCheckIntervalMilliSeconds; }
public MsSqlMessageProducer(MsSqlMessagingGatewayConfiguration msSqlMessagingGatewayConfiguration) { _sqlQ = new MsSqlMessageQueue <Message>(msSqlMessagingGatewayConfiguration); }