SLT-307 refactored out ConnectionFactory and QueuedConsumer and exported them using wrappers in order to test properly