View Javadoc

1   /*
2    * $Id: AddReceivedNodeService.java 22334 2011-07-06 06:52:14Z claude.mamo $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.test.integration.routing.outbound;
12  
13  import org.dom4j.Document;
14  
15  /**
16   * TODO
17   */
18  public class AddReceivedNodeService
19  {
20      public Document addNodeTo(Document doc)
21      {
22          doc.getRootElement().addElement("Received");
23  
24          return doc;
25      }
26  }