Use PublishEvent function for http, mysql, redis

Make use of PublishEvent function for publishing http, mysql and
redis transactions, not only for prostgresql