-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure test resources in samples
- Loading branch information
1 parent
e42167b
commit f4bb0c7
Showing
26 changed files
with
51 additions
and
122 deletions.
There are no files selected for viewing
12 changes: 0 additions & 12 deletions
12
spring-batch-samples/src/main/resources/META-INF/spring/config-beans.xml
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
spring-batch-samples/src/main/resources/META-INF/spring/jobs/amqp/amqp-example-job-beans.xml
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
spring-batch-samples/src/main/resources/META-INF/spring/jobs/amqp/amqp-example-job.xml
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
22 changes: 0 additions & 22 deletions
22
spring-batch-samples/src/main/resources/jobs/amqp-example-job.xml
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
32 changes: 32 additions & 0 deletions
32
...les/src/main/resources/org/springframework/batch/sample/rabbitmq/job/amqp-example-job.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<beans:beans | ||
xmlns:beans="http://www.springframework.org/schema/beans" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:batch="http://www.springframework.org/schema/batch" | ||
xmlns:context="http://www.springframework.org/schema/context" | ||
xsi:schemaLocation="http://www.springframework.org/schema/batch https://www.springframework.org/schema/batch/spring-batch.xsd | ||
http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"> | ||
|
||
<context:property-placeholder location="classpath:org/springframework/batch/sample/rabbitmq/default.amqp.properties" /> | ||
<beans:import resource="classpath:org/springframework/batch/sample/rabbitmq/job/rabbitmq-beans.xml"/> | ||
|
||
<batch:job id="amqp-example-job"> | ||
<batch:step id="processQueue"> | ||
<batch:tasklet> | ||
<batch:chunk reader="amqpItemReader" processor="amqpItemProcessor" writer="amqpItemWriter" commit-interval="10"/> | ||
</batch:tasklet> | ||
</batch:step> | ||
</batch:job> | ||
|
||
<beans:bean id="amqpItemReader" class="org.springframework.batch.item.amqp.AmqpItemReader"> | ||
<beans:constructor-arg ref="inboundAmqpTemplate"/> | ||
</beans:bean> | ||
|
||
<beans:bean id="amqpItemProcessor" class="org.springframework.batch.sample.rabbitmq.processor.MessageProcessor"/> | ||
|
||
<beans:bean id="amqpItemWriter" class="org.springframework.batch.item.amqp.AmqpItemWriter"> | ||
<beans:constructor-arg ref="outboundAmqpTemplate"/> | ||
</beans:bean> | ||
|
||
</beans:beans> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
...es/src/test/resources/org/springframework/batch/sample/JobStepFunctionalTests-context.xml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...resources/org/springframework/batch/sample/common/ColumnRangePartitionerTests-context.xml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...test/resources/org/springframework/batch/sample/common/StagingItemReaderTests-context.xml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...test/resources/org/springframework/batch/sample/common/StagingItemWriterTests-context.xml
This file was deleted.
Oops, something went wrong.