/**
  * Se recibe un mensaje de texto en formato XML con los datos necesarios para agregar una Lista de
  * Proveedor.
  */
 public void onMessage(Message message) {
   TextMessage ts = (TextMessage) message;
   String textReceived = "";
   try {
     textReceived = ts.getText();
   } catch (JMSException e1) {
     e1.printStackTrace();
   }
   if (textReceived.startsWith("TEST")) {
     LOGGER.info("This is a test message, the message received is: " + textReceived);
   } else {
     ListaPreciosVO lpr = new ListaPreciosVO();
     lpr.fromXML(textReceived);
     messagesFacade.agregarListaProveedor(lpr);
   }
 }