Clone Message in Java ? (for DMQ move to Main Queue)

@Robert thanks for the feedback, my thinking was that if a given message count is greater than the number of messages in the queue then something may be wrong, such as the wrong queue name was given or another application is reading from the queue at the same time, so its probably safer to rollback the transaction in this case. I would always recommend first running the tool with the -nop option to first check that the operation is working as expected. Also enabling DEBUG log level will dump message contents to the screen which can be useful to first check which messages are required to be resent.