CLOUDIFY-1272 Added a mock message producer which throws an exception on send method.