Skip to content

Commit 35d0993

Browse files
tkhill-AWSrlhagerm
authored andcommitted
xml parsing attempt 2
1 parent be40790 commit 35d0993

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.doc_gen/metadata/sqs_metadata.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,8 +1186,8 @@ sqs_Scenario_UseJMS:
11861186
snippet_tags:
11871187
- sqs-jms.java2.spring
11881188
- description: Spring bean definitions.
1189-
snippet_tags:
1190-
- sqs-jms.java2.spring-config-xml
1189+
snippet_files:
1190+
- javav2/example_code/sqs-jms/src/main/resources/SpringExampleConfiguration.xml.txt
11911191
- description: A utility class that provides common methods used by the other examples.
11921192
snippet_files:
11931193
- javav2/example_code/sqs-jms/src/main/java/com/example/sqs/jms/SqsJmsExampleUtils.java

javav2/example_code/sqs-jms/src/main/java/com/example/sqs/jms/spring/SpringExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
public class SpringExample {
2626
private static final Integer POLLING_SECONDS = 15;
27-
private static final String SPRING_XML_CONFIG_FILE = "SpringExampleConfiguration.xml";
27+
private static final String SPRING_XML_CONFIG_FILE = "SpringExampleConfiguration.xml.txt";
2828
private static final Logger LOGGER = LoggerFactory.getLogger(SpringExample.class);
2929

3030
/**

javav2/example_code/sqs-jms/src/main/resources/SpringExampleConfiguration.xml renamed to javav2/example_code/sqs-jms/src/main/resources/SpringExampleConfiguration.xml.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!-- snippet-start:[sqs-jms.java2.spring-config-xml]-->
32
<beans
43
xmlns="http://www.springframework.org/schema/beans"
54
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -44,4 +43,3 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem
4443
<constructor-arg value="SQSJMSClientExampleQueue"/>
4544
</bean>
4645
</beans>
47-
<!-- snippet-end:[sqs-jms.java2.spring-config-xml]-->

0 commit comments

Comments
 (0)