You can search this website for the hundreds of other repetitions of this question, and the resulting hundreds of repetitions of the answers, including why you shouldn't do this in general, how you can do this very easily in MQ v7, and endless discussions on the various requirements that people think mean they need to do this.
If you don't know exactly why you want to duplicate messages, and don't have an actual process that will consume the duplicated messages... then don't bother.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum