Commits

Ruwan Linton  committed 0e718e5

Remove deprecations from previous releases (Part 1)

  • Participants
  • Parent commits 1da3cdd

Comments (0)

Files changed (7)

File modules/api/src/main/java/org/adroitlogic/ultraesb/api/format/DOMMessage.java

     boolean filter(String exprn, String regex, String[]... ns);
 
     /**
-     * @deprecated in favor of {@link #filter(String, String, String[]...)}
-     * Evaluate if the textual result of the XPath expression evaluation matches the given regex
-     * @param exprn the XPath expression to evaluate
-     * @param ns optional array of namespace prefixes and uris
-     * @param regex the regex to match with the XPath result
-     * @return true if the regex matches the textual result of the XPath expression
-     */
-    @Deprecated
-    boolean filter(String exprn, String[][] ns, String regex);
-
-    /**
      * Removes the resulting node of the XPath expression
      * @param exprn the XPath expression to select the node to remove
      * @param ns optional array of namespace prefixes and uris
     void replace(String exprn, Element elem, String[]... ns);
 
     /**
-     * @deprecated in favor of {@link #replace(String, org.w3c.dom.Element, String[]...)}
-     * Replace the result element of the XPath expression with the supplied Element
-     * @param exprn the XPath expression to select the node to replace
-     * @param ns optional array of namespace prefixes and uris
-     * @param elem the Element to attach when replacing the current node
-     */
-    @Deprecated
-    void replace(String exprn, String[][] ns, Element elem);
-
-    /**
      * Return a LIMITED (to 16K) String representation of the DOM payload.
      * @return a limited String representation of the message
      */
     void replaceAttribute(String expression, String value, final String[]... ns);
 
     /**
-     * @deprecated in favor of {@link #replaceAttribute(String, String, String[]...)}
-     * Replaces the value of the specified attribute/s
-     * e.g replaceXMLAttributeValues(msg, "//order[1]/@id", null, "8");
-     *
-     * @param expression the xpath expression to the attribute/s, which should be replaced
-     * @param ns         an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param value      the new value of the attribute
-     */
-    @Deprecated
-    void replaceAttribute(String expression, final String[][] ns, String value);
-
-    /**
      * Deletes the specified attribute/attributes from the DOM payload
      * @param expression the xpath expression to the attribute, which is to be deleted
      * @param ns         an optional array of namespace prefixes and namespaces used within the XPath expression
                                 final String[]... ns);
 
     /**
-     * @deprecated in favor of {@link #addTextElementsAsChild(String, String, String, String, String[]...)}
-     * Inserts Text Element as a child to the specified elements pointed by an xpath expression
-     *
-     * @param expression       the xpath expression to the node/s, which will be the parent for the new node/s
-     * @param ns               an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qualifiedTagName the qualified name of the new element to be added
-     * @param namespace        an optional String specifying the namespace url of the new element
-     * @param elementContent   the text content of the new element
-     */
-    @Deprecated
-    void addTextElementsAsChild(String expression, final String[][] ns, String qualifiedTagName, String namespace,
-                                String elementContent);
-
-    /**
      * Inserts Element as a child to the specified elements pointed by an xpath expression
      *
      * @param exprn       the xpath expression to the node/s, which will be the parent for the new node/s
     void addElementsAsChild(String exprn, String qualifiedTagName, String namespace, final String[]... ns);
 
     /**
-     * @deprecated in favor of {@link #addElementsAsChild(String, String, String, String[]...)}
-     * Inserts Element as a child to the specified elements pointed by an xpath expression
-     *
-     * @param exprn       the xpath expression to the node/s, which will be the parent for the new node/s
-     * @param ns               an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qualifiedTagName the qualified name of the new element to be added
-     * @param namespace        an optional String specifying the namespace url of the new element
-     */
-    @Deprecated
-    void addElementsAsChild(String exprn, final String[][] ns, String qualifiedTagName, String namespace);
-
-    /**
      * Replace Text Elements pointed by an xpath expression
      *
      * @param expression       the xpath expression to the text elements to be replaced
     void replaceTextElements(String expression, String elementContent, final String[]... ns);
 
     /**
-     * @deprecated in favor of {@link #replaceTextElements(String, String, String[]...)}
-     * Replace Text Elements pointed by an xpath expression
-     *
-     * @param expression       the xpath expression to the text elements to be replaced
-     * @param ns               an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param elementContent   the text content of the new element/s
-     */
-    @Deprecated
-    void replaceTextElements(String expression, final String[][] ns, String elementContent);
-
-    /**
      * Delete Elements pointed by an xpath expression
      *
      * @param expression       the xpath expression to the text elements to be replaced
                                   final String[]... ns);
 
     /**
-     * @deprecated in favor of {@link #insertTextElementsBefore(String, String, String, String, String[]...)}
-     * Inserts Text element/s before the specified element/s pointed by an xpath
-     *
-     * @param expression       the xpath expression to the element/s where the new element should be added before
-     * @param ns               an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qualifiedTagName the qualified tag name of the new element to be added
-     * @param namespace        namespace uri for the new element
-     * @param elementContent   the content of the new element
-     */
-    @Deprecated
-    void insertTextElementsBefore(String expression, final String[][] ns, String qualifiedTagName, String namespace,
-                                  String elementContent);
-
-    /**
      * Inserts Text element/s after the specified element/s pointed by an xpath
      *
      * @param expression       the xpath expression to the element/s where the new element should be added after
                                  final String[]... ns);
 
     /**
-     * @deprecated in favor of {@link #insertTextElementsAfter(String, String, String, String, String[]...)}
-     * Inserts Text element/s after the specified element/s pointed by an xpath
-     *
-     * @param expression       the xpath expression to the element/s where the new element should be added after
-     * @param ns               an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qualifiedTagName the qualified tag name of the new element to be added
-     * @param namespace        namespace uri for the new element
-     * @param elementContent   the content of the new element
-     */
-    @Deprecated
-    void insertTextElementsAfter(String expression, final String[][] ns, String qualifiedTagName, String namespace,
-                                 String elementContent);
-
-    /**
      * Removes the specified SOAP header and its descendants if any from the payload
      *
      * @param name the local name of the header to be removed

File modules/api/src/main/java/org/adroitlogic/ultraesb/api/mediation/MetricsSupport.java

     void reset(String stream);
 
     /**
-     * @deprecated in-favor of {@link #decrement(String)}
-     */
-    @Deprecated
-    void decrease(String stream);
-
-    /**
      * Decreases the specified key.for the global artifact
      * @param stream The name of the metrics stream to be decreased
      */

File modules/api/src/main/java/org/adroitlogic/ultraesb/api/mediation/SOAPSupport.java

      */
     void convertSOAPToJSONStream(Message m, QName staringElement, boolean retainNSPrefixes);
 
-    /**
-     * @deprecated use the {@link #convertToDOM(org.adroitlogic.ultraesb.api.Message)} instead
-     * @param m the current message containing a SOAP payload to convert to DOM/POX
-     */
-    @Deprecated
-    void convertSoapToDOM(Message m);
-
     //-------------------------------------------- SOAP headers --------------------------------------------------------
 
     /**

File modules/api/src/main/java/org/adroitlogic/ultraesb/api/mediation/XMLSupport.java

     void addAttributeToElements(Message msg, String exprn, String qName, String nsUri, String value, final String[]... ns);
 
     /**
-     * @deprecated in favor of {@link #addAttributeToElements(org.adroitlogic.ultraesb.api.Message, String, String, String, String, String[]...)}
-     * Add an attribute to one or more elements selected by an XPath expression
-     * e.g. domSupport.addAttributeToElements(msg, "//order/symbol", null, "att1", null, "value1");
-     *
-     * @param msg the message where the transformation is performed
-     * @param exprn the xpath expression to select the elements where the attribute should be added
-     * @param ns    an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qName the qualified name for the new attribute. To specify a custom prefix use it here (e.g. "myns:myqname")
-     * @param nsUri the namespace URI for the new attribute, or null (to specify a custom prefix, see qName above)
-     * @param value the new value of the attribute
-     */
-    @Deprecated
-    void addAttributeToElements(Message msg, String exprn, final String[][] ns, String qName, String nsUri, String value);
-
-    /**
      * Get attribute value e.g. domSupport.getAttribute(msg, "//order[1]/symbol/@att1", null)
      *
      * @param msg the message to read the attribute from
      */
     void replaceAttributes(Message msg, String expression, String value, String[]... ns);
 
-    /**
-     * @deprecated in favor of {@link #replaceAttributes(org.adroitlogic.ultraesb.api.Message, String, String, String[]...)}
-     * Replaces the specified attribute/s value
-     *
-     * @param msg        the current message containing the payload
-     * @param expression the xpath expression to the attribute, which is to be replaced
-     * @param ns         an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param value      the new value of the attribute
-     */
-    @Deprecated
-    void replaceAttributes(Message msg, String expression, String[][] ns, String value);
-
     //-------------------------------------------- element manipulation ------------------------------------------------
 
     /**
                                 String elementContent, String[]... ns);
 
     /**
-     * @deprecated in favor of {@link #addTextElementsAsChild(org.adroitlogic.ultraesb.api.Message, String, String, String, String, String[]...)}
-     * Inserts Text Element as a child to the specified elements pointed by an xpath expression
-     *
-     * @param msg              the current message containing the payload
-     * @param expression       the xpath expression to the node/s, which will be the parent for the new node/s
-     * @param ns               an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qualifiedTagName the qualified name of the new element to be added
-     * @param namespace        an optional String specifying the namespace url of the new element
-     * @param elementContent   the text content of the new element
-     */
-    @Deprecated
-    void addTextElementsAsChild(Message msg, String expression, String[][] ns, String qualifiedTagName,
-                                String namespace, String elementContent);
-
-    /**
      * Inserts Element as a child to the specified elements pointed by an xpath expression
      *
      * @param msg              the current message containing the payload
     void addElementsAsChild(Message msg, String expression, String qualifiedTagName, String namespace, String[]... ns);
 
     /**
-     * @deprecated in favor of {@link #addElementsAsChild(org.adroitlogic.ultraesb.api.Message, String, String, String, String[]...)}
-     * Inserts Element as a child to the specified elements pointed by an xpath expression
-     *
-     * @param msg              the current message containing the payload
-     * @param expression       the xpath expression to the node/s, which will be the parent for the new node/s
-     * @param ns               an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qualifiedTagName the qualified name of the new element to be added
-     * @param namespace        an optional String specifying the namespace url of the new element
-     */
-    @Deprecated
-    void addElementsAsChild(Message msg, String expression, String[][] ns, String qualifiedTagName, String namespace);
-
-    /**
      * Get text element value for given XPath
      *
      * @param msg the message to read the attribute from
     void replaceTextElements(Message msg, String expression, String elementContent, String[]... ns);
 
     /**
-     * @deprecated in favor of {@link #replaceTextElements(org.adroitlogic.ultraesb.api.Message, String, String, String[]...)}
-     * Replace Text Elements pointed by an xpath expression
-     *
-     * @param msg              the current message containing the payload
-     * @param expression       the xpath expression to the text elements to be replaced
-     * @param ns               an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param elementContent   the text content of the new element/s
-     */
-    @Deprecated
-    void replaceTextElements(Message msg, String expression, String[][] ns, String elementContent);
-
-
-    /**
      * Delete Elements pointed by an xpath expression
      *
      * @param msg              the current message containing the payload
                                   String elementContent, String[]... ns);
 
     /**
-     * @deprecated in favor of {@link #insertTextElementsBefore(org.adroitlogic.ultraesb.api.Message, String, String, String, String, String[]...)}
-     * Inserts an element/elements before the specified element pointed by the XPATH, to the current message. If the
-     * XPath expression points to multiple elements, new element will be added before all the elements pointed by the
-     * XPath. The content of the new element should be String. No complex types are allowed.
-     * @param msg              the current message containing the payload
-     * @param expression       the xpath expression to the node, where the new element should be added before
-     * @param ns               an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qualifiedTagName the qualified tag name of the new element to be added
-     * @param namespace        namespace uri for the new tag
-     * @param elementContent   the content of the new element
-     */
-    @Deprecated
-    void insertTextElementsBefore(Message msg, String expression, String[][] ns, String qualifiedTagName,
-                                  String namespace, String elementContent);
-
-    /**
      * Inserts an element/elements after the specified element pointed by the XPATH, to the current message. If the
      * XPath expression points to multiple elements, new element will be added after all the elements pointed by the
      * XPath.The content of the new element should be String. No complex types are allowed.
                                  String elementContent, String[]... ns);
 
     /**
-     * @deprecated in favor of {@link #insertTextElementsAfter(org.adroitlogic.ultraesb.api.Message, String, String, String, String, String[]...)}
-     * Inserts an element/elements after the specified element pointed by the XPATH, to the current message. If the
-     * XPath expression points to multiple elements, new element will be added after all the elements pointed by the
-     * XPath.The content of the new element should be String. No complex types are allowed.
-     * @param msg              the current message containing the payload
-     * @param expression       the xpath expression to the node, where the new element should be added after
-     * @param ns               an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qualifiedTagName the qualified tag name of the new element to be added
-     * @param namespace        namespace uri for the new tag
-     * @param elementContent   the content of the new element
-     */
-    @Deprecated
-    void insertTextElementsAfter(Message msg, String expression, String[][] ns, String qualifiedTagName, String namespace, String elementContent);
-
-    /**
      * Remove the XPath expression specified node from the XML payload. This method converts the current payload of the
      * message into a DOMMessage
      * @param m the current message
      * @param n DOM node to be subjected to the evaluation
      * @param exprn the XPath expression to evaluate against the DOM node
      * @param ns an optional array of namespace prefixes and namespace urls
-     * @return
+     * @return the result of the XPath expression evaluation over the given node as a string or null
      */
     String extractAsStringUsingXPath(Node n, String exprn, final String[]... ns);
 
     void splitAndProcess(Message msg, String exprn, String sequenceName, boolean ignoreErrors, final String[]... ns)
             throws Exception;
 
-    /**
-     * @deprecated in favor of {@link #splitAndProcess(org.adroitlogic.ultraesb.api.Message, String, String, boolean, String[]...)}
-     * Split current message into multiple messages using the given XPath expression, and hand over each such
-     * message to the given sequence
-     * @param msg the current message to be split and processed
-     * @param exprn the XPath expression to split the message at
-     * @param ns name spaces used
-     * @param sequenceName the sequence to invoke on each resulting message
-     * @param ignoreErrors ignore any errors encountered during sequence execution
-     * @throws Exception if the invoked sequence throws an exception
-     */
-    @Deprecated
-    void splitAndProcess(Message msg, String exprn, final String[][] ns, String sequenceName, boolean ignoreErrors) throws Exception;
-
-
     //------------------------------------ JAXB support ----------------------------------------------------------------
 
     /**

File modules/core/src/main/java/org/adroitlogic/ultraesb/core/format/DOMMessage.java

     }
 
     /**
-     * @deprecated in favor of {@link #filter(String, String, String[]...)}
-     * Evaluate if the textual result of the XPath expression evaluation matches the given regex
-     * @param exprn the XPath expression to evaluate
-     * @param ns optional array of namespace prefixes and uris
-     * @param regex the regex to match with the XPath result
-     * @return true if the regex matches the textual result of the XPath expression
-     */
-    @Override
-    @Deprecated
-    public boolean filter(String exprn, final String[][] ns, String regex) {
-        return filter(exprn, regex, ns);
-    }
-
-    /**
      * Removes the resulting node/s of the XPath expression
      * @param exprn the XPath expression to select the node to remove
      * @param ns optional array of namespace prefixes and uris
     }
 
     /**
-     * @deprecated in favor of {@link #replace(String, org.w3c.dom.Element, String[]...)}
-     * Replace the result element of the XPath expression with the supplied Element
-     * @param exprn the XPath expression to select the node to replace
-     * @param ns optional array of namespace prefixes and uris
-     * @param elem the Element to attach when replacing the current node
-     */
-    @Override
-    @Deprecated
-    public void replace(String exprn, final String[][] ns, Element elem) {
-        replace(exprn, elem, ns);
-    }
-
-    /**
      * Return a LIMITED (to 64K) String representation of the DOM payload.
      * @return a limited String representation of the message
      */
     }
 
     /**
-     * @deprecated in favor of {@link #addAttributeToElements(String, String, String, String, String[]...)}
-     * Add an attribute to each instance of the specified elements
-     *
-     * @param exprn the xpath expression to the elements where the attribute should be added
-     * @param ns    an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qName the qualified name for the new attribute
-     * @param nsUri the namespace URI for the new attribute, or null
-     * @param value the new value of the attribute
-     */
-    @Deprecated
-    public void addAttributeToElements(String exprn, final String[][] ns, String qName, String nsUri, String value) {
-        addAttributeToElements(exprn, qName, nsUri, value, ns);
-    }
-
-    /**
      * Get attribute value
      *
      * @param exprn the xpath expression to the element where the attribute should be added
     }
 
     /**
-     * @deprecated in favor of {@link #replaceAttribute(String, String, String[]...)}
-     * Replaces the specified attribute
-     * e.g replaceXMLAttributeValue(msg, "//order[1]/@id", null, "8")
-     *
-     * @param exprn the xpath expression to the attribute, which is to be replaced
-     * @param ns    an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param value the new value of the attribute
-     */
-    @Override
-    @Deprecated
-    public void replaceAttribute(String exprn, final String[][] ns, String value) {
-        replaceAttribute(exprn, value, ns);
-    }
-
-    /**
      * Deletes the specified attributes
      *
      * @param exprn the xpath expression to the attributes, which are to be deleted
     }
 
     /**
-     * @deprecated in favor of {@link #addTextElementsAsChild(String, String, String, String, String[]...)}
-     * Inserts Text Element as a child to the specified elements pointed by an xpath expression
-     *
-     * @param exprn       the xpath expression to the node/s, which will be the parent for the new node/s
-     * @param ns               an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qualifiedTagName the qualified name of the new element to be added
-     * @param namespace        an optional String specifying the namespace url of the new element
-     * @param elementContent   the text content of the new element
-     */
-    @Override
-    @Deprecated
-    public void addTextElementsAsChild(String exprn, final String[][] ns, String qualifiedTagName,
-                                       String namespace, String elementContent) {
-        addTextElementsAsChild(exprn, qualifiedTagName, namespace, elementContent, ns);
-    }
-
-    /**
      * Inserts Element as a child to the specified elements pointed by an xpath expression
      *
      * @param exprn       the xpath expression to the node/s, which will be the parent for the new node/s
     }
 
     /**
-     * @deprecated in favor of {@link #addElementsAsChild(String, String, String, String[]...)}
-     * Inserts Element as a child to the specified elements pointed by an xpath expression
-     *
-     * @param exprn       the xpath expression to the node/s, which will be the parent for the new node/s
-     * @param ns               an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qualifiedTagName the qualified name of the new element to be added
-     * @param namespace        an optional String specifying the namespace url of the new element
-     */
-    @Override
-    @Deprecated
-    public void addElementsAsChild(String exprn, final String[][] ns, String qualifiedTagName, String namespace) {
-        addElementsAsChild(exprn, qualifiedTagName, namespace, ns);
-    }
-
-    /**
      * Replace Text Elements pointed by an xpath expression
      *
      * @param expression       the xpath expression to the text elements to be replaced
     }
 
     /**
-     * @deprecated in favor of {@link #replaceTextElements(String, String, String[]...)}
-     * Replace Text Elements pointed by an xpath expression
-     *
-     * @param expression       the xpath expression to the text elements to be replaced
-     * @param ns               an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param elementContent   the text content of the new element/s
-     */
-    @Override
-    @Deprecated
-    public void replaceTextElements(String expression, final String[][] ns, String elementContent) {
-        replaceTextElements(expression, elementContent, ns);
-    }
-
-    /**
      * Delete Elements pointed by an xpath expression
      *
      * @param expression       the xpath expression to the text elements to be replaced
     }
 
     /**
-     * @deprecated in favor of {@link #insertTextElementsBefore(String, String, String, String, String[]...)}
-     * Inserts Text element/s before the specified element/s pointed by an xpath
-     *
-     * @param exprn       the xpath expression to the element/s where the new element should be added before
-     * @param ns               an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qualifiedTagName the qualified tag name of the new element to be added
-     * @param namespace        namespace uri for the new element
-     * @param elementContent   the content of the new element
-     */
-    @Override
-    @Deprecated
-    public void insertTextElementsBefore(String exprn, final String[][] ns, String qualifiedTagName,
-                                         String namespace, String elementContent) {
-        insertTextElementsBefore(exprn, qualifiedTagName, namespace, elementContent, ns);
-    }
-
-    /**
      * Inserts Text element/s after the specified element/s pointed by an xpath
      *
      * @param exprn       the xpath expression to the element/s where the new element should be added after
     }
 
     /**
-     * @deprecated in favor of {@link #insertTextElementsAfter(String, String, String, String, String[]...)}
-     * Inserts Text element/s after the specified element/s pointed by an xpath
-     *
-     * @param exprn       the xpath expression to the element/s where the new element should be added after
-     * @param ns               an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qualifiedTagName the qualified tag name of the new element to be added
-     * @param namespace        namespace uri for the new element
-     * @param elementContent   the content of the new element
-     */
-    @Override
-    @Deprecated
-    public void insertTextElementsAfter(String exprn, final String[][] ns, String qualifiedTagName, String namespace,
-                                        String elementContent) {
-        insertTextElementsAfter(exprn, qualifiedTagName, namespace, elementContent, ns);
-    }
-
-    /**
      * Removes the specified SOAP header and its descendants if any from the payload
      *
      * @param name the local name of the header to be removed

File modules/core/src/main/java/org/adroitlogic/ultraesb/core/mediation/MetricsSupportImpl.java

     }
 
     @Override
-    @Deprecated
-    /** @deprecated in-favor of {@link #decrement(String)} */
-    public void decrease(String stream) {
-        decrement(stream);
-    }
-
-    @Override
     public void decrement(String stream) {
         metricsEngine.exceptionalDecrement(metricsEngine.computeStream(stream, CounterRecord.class, true).getId());
     }

File modules/core/src/main/java/org/adroitlogic/ultraesb/core/mediation/XMLSupportImpl.java

     }
 
     /**
-     * @deprecated in favor of {@link #addAttributeToElements(org.adroitlogic.ultraesb.api.Message, String, String, String, String, String[]...)}
-     * Add an attribute to one or more elements selected by an XPath expression
-     * @param msg the message where the transformation is performed
-     * @param exprn the xpath expression to select the elements where the attribute should be added
-     * @param ns an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qName the qualified name for the new attribute. To specify a custom prefix use it here (e.g. "myns:myqname")
-     * @param nsUri the namespace URI for the new attribute, or null (to specify a custom prefix, see qName above)
-     * @param value the new value of the attribute
-     */
-    @Override
-    @Deprecated
-    public void addAttributeToElements(Message msg, String exprn, String[][] ns, String qName,
-                                       String nsUri, String value) {
-        addAttributeToElements(msg, exprn, qName, nsUri, value, ns);
-    }
-
-    /**
      * Get attribute value e.g. domSupport.getAttribute(msg, "//order[1]/symbol/@s:att2", ns)
      * @param msg the message to read the attribute from
      * @param exprn the xpath expression to the element where the attribute should be added
     }
 
     /**
-     * Replaces the specified attribute/s
-     * @param msg the current message containing the payload
-     * @param expression the xpath expression to the attribute, which is to be replaced
-     * @param ns an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param value the new value of the attribute
-     */
-    @Override
-    @Deprecated
-    public void replaceAttributes(Message msg, String expression, String[][] ns, String value) {
-        replaceAttributes(msg, expression, value, ns);
-    }
-
-    /**
      * Inserts Text Element as a child to the specified elements pointed by an xpath expression
      * @param msg the current message containing the payload
      * @param expression the xpath expression to the node/s, which will be the parent for the new node/s
     }
 
     /**
-     * @deprecated in favor of {@link #addTextElementsAsChild(org.adroitlogic.ultraesb.api.Message, String, String, String, String, String[]...)}
-     * Inserts Text Element as a child to the specified elements pointed by an xpath expression
-     * @param msg the current message containing the payload
-     * @param expression the xpath expression to the node/s, which will be the parent for the new node/s
-     * @param ns an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qualifiedTagName the qualified name of the new element to be added
-     * @param namespace an optional String specifying the namespace url of the new element
-     * @param elementContent the text content of the new element/s
-     */
-    @Override
-    @Deprecated
-    public void addTextElementsAsChild(Message msg, String expression, String[][] ns,
-                                       String qualifiedTagName, String namespace, String elementContent) {
-        addTextElementsAsChild(msg, expression, qualifiedTagName, namespace, elementContent, ns);
-    }
-
-    /**
      * Inserts Element as a child to the specified elements pointed by an xpath expression
      * @param msg the current message containing the payload
      * @param expression the xpath expression to the node/s, which will be the parent for the new node/s
     }
 
     /**
-     * @deprecated in favor of {@link #addElementsAsChild(org.adroitlogic.ultraesb.api.Message, String, String, String, String[]...)}
-     * Inserts Element as a child to the specified elements pointed by an xpath expression
-     * @param msg the current message containing the payload
-     * @param expression the xpath expression to the node/s, which will be the parent for the new node/s
-     * @param ns an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qualifiedTagName the qualified name of the new element to be added
-     * @param namespace an optional String specifying the namespace url of the new element
-     */
-    @Override
-    @Deprecated
-    public void addElementsAsChild(Message msg, String expression, String[][] ns,
-                                   String qualifiedTagName, String namespace) {
-        addElementsAsChild(msg, expression, qualifiedTagName, namespace, ns);
-    }
-
-    /**
      * Get text element value for given XPath
      * @param msg the message to read the attribute from
      * @param exprn the xpath expression to the element where the text content should be read
     }
 
     /**
-     * @deprecated in favor of {@link #replaceTextElements(org.adroitlogic.ultraesb.api.Message, String, String, String[]...)}
-     * Replace Text Elements pointed by an xpath expression
-     * @param msg the current message containing the payload
-     * @param expression the xpath expression to the text elements to be replaced
-     * @param ns an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param elementContent the text content of the new element/s
-     */
-    @Override
-    @Deprecated
-    public void replaceTextElements(Message msg, String expression, String[][] ns, String elementContent) {
-        replaceTextElements(msg, expression, elementContent, ns);
-    }
-
-    /**
      * Delete Elements pointed by an xpath expression
      * @param msg the current message containing the payload
      * @param expression the xpath expression to the text elements to be replaced
     }
 
     /**
-     * @deprecated in favor of {@link #insertTextElementsBefore(org.adroitlogic.ultraesb.api.Message, String, String, String, String, String[]...)}
-     * Inserts Text element/s before the specified element/s pointed by an xpath
-     * @param msg the current message containing the payload
-     * @param expression the xpath expression to the element/s where the new element should be added before
-     * @param ns an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qualifiedTagName the qualified tag name of the new element to be added
-     * @param namespace namespace uri for the new element
-     * @param elementContent the content of the new element
-     */
-    @Override
-    @Deprecated
-    public void insertTextElementsBefore(Message msg, String expression, String[][] ns, String qualifiedTagName,
-                                         String namespace, String elementContent) {
-        insertTextElementsBefore(msg, expression, qualifiedTagName, namespace, elementContent, ns);
-    }
-
-    /**
      * Inserts Text element/s after the specified element/s pointed by an xpath
      * @param msg the current message containing the payload
      * @param expression the xpath expression to the element/s where the new element should be added after
     }
 
     /**
-     * @deprecated in favor of {@link #insertTextElementsAfter(org.adroitlogic.ultraesb.api.Message, String, String, String, String, String[]...)}
-     * Inserts Text element/s after the specified element/s pointed by an xpath
-     * @param msg the current message containing the payload
-     * @param expression the xpath expression to the element/s where the new element should be added after
-     * @param ns an optional array of namespace prefixes and namespaces used within the XPath expression
-     * @param qualifiedTagName the qualified tag name of the new element to be added
-     * @param namespace namespace uri for the new element
-     * @param elementContent the content of the new element
-     */
-    @Override
-    @Deprecated
-    public void insertTextElementsAfter(Message msg, String expression, String[][] ns, String qualifiedTagName,
-                                        String namespace, String elementContent) {
-        insertTextElementsAfter(msg, expression, qualifiedTagName, namespace, elementContent, ns);
-    }
-
-    /**
      * Remove the XPath expression specified node from the XML payload. This method converts the current payload of the
      * message into a DOMMessage
      * @param m the current message
     }
 
     /**
-     * @deprecated in favor of {@link #splitAndProcess(org.adroitlogic.ultraesb.api.Message, String, String, boolean, String[]...)}
-     * Split current message into multiple messages using the given XPath expression, and hand over each such
-     * message to the given sequence
-     * @param msg the current message to be split and processed
-     * @param exprn the XPath expression to split the message at
-     * @param ns name spaces used
-     * @param sequenceName the sequence to invoke on each resulting message
-     * @param ignoreErrors ignore any errors encountered during sequence execution
-     * @throws Exception if the invoked sequence throws an exception
-     */
-    @Override
-    @Deprecated
-    public void splitAndProcess(Message msg, String exprn, final String[][] ns, String sequenceName,
-                                boolean ignoreErrors) throws Exception {
-        splitAndProcess(msg, exprn, sequenceName, ignoreErrors, ns);
-    }
-
-    /**
      * Converts a XML payload into a JAXB Object. This does NOT modify the current message
      * @param msg the current message to read the payload from
      * @param clazz the JAXB class to convert the payload into