Fix for https://issues.apache.org/activemq/browse/AMQ-796 - The threads associated with the session are now setup to be non-daemon so that if you setup a MessageListener and let the main thread exit, your program will not terminate if there are no active transport threads which is the case when the failover transport is in the middle of reconnecting to a broker.