INT-1263, added more changes and tests related valdating MessageHistory in every module
This commit is contained in:
@@ -99,5 +99,8 @@ public abstract class AbstractXPathRouter extends AbstractChannelNameResolvingMe
|
||||
protected XPathExpression getXPathExpression() {
|
||||
return this.xPathExpression;
|
||||
}
|
||||
|
||||
|
||||
public String getComponentType(){
|
||||
return "xml:xpath-router";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -164,5 +164,9 @@ public class XPathMessageSplitter extends AbstractMessageSplitter {
|
||||
return this.documentBuilderFactory.newDocumentBuilder();
|
||||
}
|
||||
}
|
||||
|
||||
public String getComponentType(){
|
||||
return "xml:xpath-splitter";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
package org.springframework.integration.xml.transformer;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
@@ -35,8 +34,6 @@ import org.apache.commons.logging.LogFactory;
|
||||
import org.springframework.context.expression.MapAccessor;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.expression.Expression;
|
||||
import org.springframework.expression.ExpressionParser;
|
||||
import org.springframework.expression.spel.standard.SpelExpressionParser;
|
||||
import org.springframework.expression.spel.support.StandardEvaluationContext;
|
||||
import org.springframework.integration.Message;
|
||||
import org.springframework.integration.MessageHeaders;
|
||||
@@ -250,4 +247,7 @@ public class XsltPayloadTransformer extends AbstractTransformer {
|
||||
public void setXsltParamHeaders(String[] xsltParamHeaders) {
|
||||
this.xsltParamHeaders = xsltParamHeaders;
|
||||
}
|
||||
public String getComponentType(){
|
||||
return "xml:xslt-transformer";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user