xenim-amqp: Fixed publish-code and added reconnecting
added setting to disable xenim