public OpenSpacesQueueObject newQueueTemplate(String queueName){
  OpenSpacesQueueObject queueObject=isFifo() ? new OpenSpacesFifoQueueObject() : new OpenSpacesQueueObject();
  queueObject.setPersistent(isPersistent());
  queueObject.setEndpointURI(queueName);
  return queueObject;
}

public OpenSpacesQueueObject newQueueTemplate ( String queueName ) { OpenSpacesQueueObject queueObject = isFifo ( ) ? new OpenSpacesFifoQueueObject ( ) : new OpenSpacesQueueObject ( ) ; queueObject . setPersistent ( isPersistent ( ) ) ; queueObject . setEndpointURI ( queueName ) ; return queueObject ; }
creates a new template for querying the queue
