Skip to content

Commit 64526d0

Browse files
committed
Update Spring AMQP tutorial
1 parent 60c81dc commit 64526d0

File tree

7 files changed

+221
-241
lines changed

7 files changed

+221
-241
lines changed

spring-amqp/.mvn/wrapper/MavenWrapperDownloader.java

-110
This file was deleted.

spring-amqp/.mvn/wrapper/maven-wrapper.jar

100755100644
13.9 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
1-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
18+
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar

spring-amqp/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,21 @@ For tutorials 1-5, run the consumer (receiver) followed by the publisher (sender
4343

4444
```
4545
# shell 1
46-
java -jar target/rabbit-tutorials-*.jar --spring.profiles.active=work-queues,receiver
46+
java -jar target/rabbitmq-tutorials.jar --spring.profiles.active=work-queues,receiver
4747
4848
# shell 2
49-
java -jar target/rabbit-tutorials-*.jar --spring.profiles.active=work-queues,sender
49+
java -jar target/rabbitmq-tutorials.jar --spring.profiles.active=work-queues,sender
5050
```
5151

5252
For tutorial 6, run the server followed by the client.
5353

54-
##C onfiguration
54+
## Configuration
5555

5656
When running receivers/servers it's useful to set the duration the app runs to a longer time. Do this by setting
5757
the `tutorial.client.duration` property.
5858

5959
```
60-
java -jar rabbitmq-tutorials.jar --spring.profiles.active=tut2,receiver,remote --tutorial.client.duration=60000
60+
java -jar target/rabbitmq-tutorials.jar --spring.profiles.active=tut2,receiver,remote --tutorial.client.duration=60000
6161
```
6262

6363
By default, Spring AMQP uses localhost to connect to RabbitMQ. In the

0 commit comments

Comments
 (0)