added API for configuring persistence of Rabbit msg