Skip to content

Commit

Permalink
Merge pull request #43355 from dgroup/patch-1
Browse files Browse the repository at this point in the history
Remove unnecessary symbols that force you to change lines after copying each time
  • Loading branch information
geoand authored Sep 20, 2024
2 parents 3a2b656 + dec1d0b commit 4aaeed0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/src/main/asciidoc/rabbitmq.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -398,14 +398,14 @@ You just need to run both applications using:

[source,bash]
----
> mvn -f rabbitmq-quickstart-producer quarkus:dev
mvn -f rabbitmq-quickstart-producer quarkus:dev
----

And, in a separate terminal:

[source, bash]
----
> mvn -f rabbitmq-quickstart-processor quarkus:dev
mvn -f rabbitmq-quickstart-processor quarkus:dev
----

Quarkus starts a RabbitMQ broker automatically, configures the application and shares the broker instance between different applications.
Expand Down Expand Up @@ -469,8 +469,8 @@ First, make sure you stopped the applications, and build both applications in JV

[source, bash]
----
> mvn -f rabbitmq-quickstart-producer clean package
> mvn -f rabbitmq-quickstart-processor clean package
mvn -f rabbitmq-quickstart-producer clean package
mvn -f rabbitmq-quickstart-processor clean package
----

Once packaged, run `docker compose up --build`.
Expand All @@ -480,17 +480,17 @@ To run your applications as native, first we need to build the native executable

[source, bash]
----
> mvn -f rabbitmq-quickstart-producer package -Dnative -Dquarkus.native.container-build=true
> mvn -f rabbitmq-quickstart-processor package -Dnative -Dquarkus.native.container-build=true
mvn -f rabbitmq-quickstart-producer package -Dnative -Dquarkus.native.container-build=true
mvn -f rabbitmq-quickstart-processor package -Dnative -Dquarkus.native.container-build=true
----

The `-Dquarkus.native.container-build=true` instructs Quarkus to build Linux 64bits native executables, who can run inside containers.
Then, run the system using:

[source, bash]
----
> export QUARKUS_MODE=native
> docker compose up --build
export QUARKUS_MODE=native
docker compose up --build
----

As before, the UI is exposed on http://localhost:8080/quotes.html
Expand Down

0 comments on commit 4aaeed0

Please sign in to comment.