Make modification to be able to change the target queue or path of the messaging system