Custom inbound pipe: Implement IInboundPipe
 To implement the IInboundPipe interface, add the following method in XmlInboundPipe.cs:
  
 public virtual void ToPublishingPoint()
 {
     var items = new List<PublishingSystemEventInfo>();
     var wrapperObjects = this.LoadWrapperObjectItems();
     foreach (var item in wrapperObjects)
     {
         items.Add(new PublishingSystemEventInfo() { Item = item, ItemAction = RelatedActionsConstants.PublishingPointImported, Language = item.Language });
     }
  
     this.PushData(items);
 }
    You must implement the ToPublishingPoint method. You call the LoadWrapperObjectItems helper method to wrap the xml documents in WrapperObject. Then, you wrap the items inPublishingSystemEventInfo objects and call PushData.