Package nexj.core.util

Examples of nexj.core.util.Logger.info()


     
      msg.setValue("message", msg1);
     
      Logger logger = Logger.getLogger("TransformerTest");
     
      logger.info("source: " + msg.toString());
     
      // transform message
      TransferObject res = m_tf.transform(msg, m_metadata.getTransformation("MapMessage"));

      logger.info("result: " + res.toString());
View Full Code Here


      logger.info("source: " + msg.toString());
     
      // transform message
      TransferObject res = m_tf.transform(msg, m_metadata.getTransformation("MapMessage"));

      logger.info("result: " + res.toString());
     
      // validate result message
      assertEquals("TransformTestMsg", res.getClassName());
      assertEquals(2, res.getValueCount());
     
View Full Code Here

     
      msg.setValue("messageCollection", col);
     
      Logger logger = Logger.getLogger("TransformerTest");
     
      logger.info("source: " + msg.toString());
     
      // transform message
      TransferObject res = m_tf.transform(msg, m_metadata.getTransformation("MapMessageCollection"));

      logger.info("result: " + res.toString());
View Full Code Here

      logger.info("source: " + msg.toString());
     
      // transform message
      TransferObject res = m_tf.transform(msg, m_metadata.getTransformation("MapMessageCollection"));

      logger.info("result: " + res.toString());
     
      // validate result message
      assertEquals("TransformTestMsg", res.getClassName());
      assertEquals(2, res.getValueCount());
     
View Full Code Here

      Logger logger = Logger.getLogger("FixedMessageParserTest");

      String s = writer.toString();

      logger.info("size of formatted string is (" + s.length() + ") chars");

      // Parse the formatted string
      TransferObject parseRoot = m_parser.parse(new StringInput(s), msg);

      // Test it
View Full Code Here

         TransferObject record = (TransferObject)formatRecList.get(i);
         assertEquals(sRecName + i, record.getValue("name"));
         assertEquals(record.getValue("recNum"), new Long(i));
         if (i % DIVISOR == MODULO)
         {
            logger.info("record: <<" + record.toString() + ">>");
         }
      }

      ((PagedArrayList)parseRecList).dispose();
   }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.