/**
* Create an action to copy a set of messages to a queue/topic
*/
public CopyOrMoveMessagesTask createMessageCopyAction(Hermes hermes, String d, Domain domain, Collection set, boolean showConfirm, boolean duplicate)
{
CopyOrMoveMessagesTask rval = new CopyOrMoveMessagesTask(hermes, d, domain, set, TransferHandler.COPY, showConfirm, duplicate);
rval.start();
return rval;
}