If cannot connect to MQ server, producer runs locally.
Tests for producer added.