Is there a IBM MQ JAVA API to move messages from one queue to another?
I am able to browse messages from the queue and put messages as well using Java APIs. But I want to move a message from one queue to another. Could you please give a sample code if there is any?
Or do we have to dequeue the message from queue1 and then put the message into queue2 for moving the messages?