This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 91b66dc Fixed CS 91b66dc is described below commit 91b66dc1b42ae35f29e98510306caa74cc8b040d Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Fri Oct 9 09:08:39 2020 +0200 Fixed CS --- .../component/spring/ws/ConsumerEndpointMappingByBeanNameRouteTest.java | 2 +- .../spring/ws/ConsumerEndpointMappingResponseHandlingRouteTest.java | 2 +- .../apache/camel/component/spring/ws/StockQuoteResponseProcessor.java | 2 +- .../apache/camel/component/spring/ws/processor/OkResponseProcessor.java | 2 +- .../apache/camel/component/spring/ws/processor/PrecedenceProcessor.java | 2 +- .../test/resources/{stockquote-response.xml => stockquote-response.txt} | 0 6 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/ConsumerEndpointMappingByBeanNameRouteTest.java b/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/ConsumerEndpointMappingByBeanNameRouteTest.java index a2b9bf8..4d77a5a 100644 --- a/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/ConsumerEndpointMappingByBeanNameRouteTest.java +++ b/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/ConsumerEndpointMappingByBeanNameRouteTest.java @@ -46,7 +46,7 @@ public class ConsumerEndpointMappingByBeanNameRouteTest extends CamelSpringTestS super.setUp(); webServiceTemplate = applicationContext.getBean("webServiceTemplate", WebServiceTemplate.class); expectedResponse = context.getTypeConverter().convertTo(String.class, - getClass().getResourceAsStream("/stockquote-response.xml")); + getClass().getResourceAsStream("/stockquote-response.txt")); } @Test diff --git a/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/ConsumerEndpointMappingResponseHandlingRouteTest.java b/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/ConsumerEndpointMappingResponseHandlingRouteTest.java index 969a932..eadc28a 100644 --- a/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/ConsumerEndpointMappingResponseHandlingRouteTest.java +++ b/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/ConsumerEndpointMappingResponseHandlingRouteTest.java @@ -53,7 +53,7 @@ public class ConsumerEndpointMappingResponseHandlingRouteTest extends CamelSprin super.setUp(); webServiceTemplate = applicationContext.getBean("webServiceTemplate", WebServiceTemplate.class); expectedResponse = context.getTypeConverter().convertTo(String.class, - getClass().getResourceAsStream("/stockquote-response.xml")); + getClass().getResourceAsStream("/stockquote-response.txt")); } @Test diff --git a/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/StockQuoteResponseProcessor.java b/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/StockQuoteResponseProcessor.java index 8a367c5..423daff 100644 --- a/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/StockQuoteResponseProcessor.java +++ b/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/StockQuoteResponseProcessor.java @@ -38,7 +38,7 @@ public class StockQuoteResponseProcessor implements Processor { @Override public void process(Exchange exchange) throws Exception { LOG.info("Crafting standard response in StockQuoteResponseProcessor"); - InputStream is = getClass().getResourceAsStream("/stockquote-response.xml"); + InputStream is = getClass().getResourceAsStream("/stockquote-response.txt"); DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.parse(is); diff --git a/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/processor/OkResponseProcessor.java b/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/processor/OkResponseProcessor.java index a8774bf..9ee2b9c 100644 --- a/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/processor/OkResponseProcessor.java +++ b/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/processor/OkResponseProcessor.java @@ -38,7 +38,7 @@ public class OkResponseProcessor implements Processor { @Override public void process(Exchange exchange) throws Exception { LOG.info("Crafting standard response in StockQuoteResponseProcessor"); - InputStream is = getClass().getResourceAsStream("/stockquote-response.xml"); + InputStream is = getClass().getResourceAsStream("/stockquote-response.txt"); DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.parse(is); diff --git a/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/processor/PrecedenceProcessor.java b/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/processor/PrecedenceProcessor.java index 3a25caf..6766fb1 100644 --- a/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/processor/PrecedenceProcessor.java +++ b/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/processor/PrecedenceProcessor.java @@ -36,7 +36,7 @@ public class PrecedenceProcessor implements Processor { @Override public void process(Exchange exchange) throws Exception { // same sample data - InputStream is = getClass().getResourceAsStream("/stockquote-response.xml"); + InputStream is = getClass().getResourceAsStream("/stockquote-response.txt"); DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.parse(is); diff --git a/components/camel-spring-ws/src/test/resources/stockquote-response.xml b/components/camel-spring-ws/src/test/resources/stockquote-response.txt similarity index 100% rename from components/camel-spring-ws/src/test/resources/stockquote-response.xml rename to components/camel-spring-ws/src/test/resources/stockquote-response.txt