Examples of CompositeMessagePart


Examples of nexj.core.meta.integration.CompositeMessagePart

      CSVMessagePartMapping parentMapping = null;
      Element mappingElement = XMLUtil.findChildElement(element, CSV_XML_TAG_NAME);

      //Compute current level
      int nThisLevel;
      CompositeMessagePart parentPart = part.getParent();

      if (parentPart == null)
      {
         nThisLevel = 0;
      }
      else
      {
         //Require sequential aggregation mode
         if (parentPart.getAggregation() != CompositeMessagePart.SEQUENTIAL)
         {
            throw new MetadataException("err.meta.integration.nonSequentialAggregation",
               new Object[]{CSV_XML_TAG_NAME, msg.getName()});
         }

         parentMapping = (CSVMessagePartMapping)parentPart.getMapping();
         nThisLevel = parentMapping.getLevel() + 1;
      }

      //Mapping is required on root element
      if (nThisLevel <= 0)
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.