code: public int moveMessages(String source, String target){
  
          try {
              return getQueueControl(source).moveMessages("", target);
          } catch (Exception e) {
              throw new AsyncException(e);
          }
      }
docs: Moves all messages from one queue to another
  
  @param source name of source queue
  @param target name of target queue
  
  @return number of messages moved