Move AMQP sample to rabbitmq package

Issue #3663
This commit is contained in:
Mahmoud Ben Hassine
2023-09-25 08:53:56 +02:00
parent e693879144
commit 1eab6f63ed
4 changed files with 29 additions and 16 deletions

View File

@@ -124,20 +124,7 @@ The `AmqpItemReader` and Writer were contributed by Chris Schaefer.
It is modeled after the `JmsItemReader` / Writer implementations, which
are popular models for remote chunking. It leverages the `AmqpTemplate`.
This example requires the env to have a copy of rabbitmq installed
and running. The standard dashboard can be used to see the traffic
from the `MessageProducer` to the `AmqpItemWriter`. Make sure you
launch the `MessageProducer` before launching the test.
You can run the sample from the command line as following:
```
cd spring-batch-samples
# Launch the test using the XML configuration
../mvnw -Dtest=AMQPJobFunctionalTests#testLaunchJobWithXmlConfig test
# Launch the test using the Java configuration
../mvnw -Dtest=AMQPJobFunctionalTests#testLaunchJobWithJavaConfig test
```
[Amqp Job Sample](./src/main/java/org/springframework/batch/sample/rabbitmq/README.md)
### BeanWrapperMapper Sample