diff --git a/instructions/cloud-hosted-guide-jms-intro/instructions.md b/instructions/cloud-hosted-guide-jms-intro/instructions.md index 433fc93b..49b6bb16 100644 --- a/instructions/cloud-hosted-guide-jms-intro/instructions.md +++ b/instructions/cloud-hosted-guide-jms-intro/instructions.md @@ -135,12 +135,14 @@ curl -s http://localhost:9081/inventory/systems | jq After you are finished checking out the application, stop the Liberty instances by pressing `Ctrl+C` in each command-line session where you ran Liberty. Alternatively, you can run the ***liberty:stop*** goal from the ***finish*** directory in another shell session: + + ```bash +cd /home/project/guide-jms-intro/finish mvn -pl inventory liberty:stop mvn -pl system liberty:stop ``` - ::page{title="Creating the consumer in the inventory microservice"} Navigate to the ***start*** directory to begin. @@ -710,18 +712,11 @@ icr.io/ibm-messaging/mq:9.4.0.0-r3 ``` -When the IBM MQ container is running, you can access the ***https\://localhost:9443/ibmmq/console*** URL. - - -_To see the output for this URL in the IDE, run the following command at a terminal:_ - +Run the following command to make sure that the IBM MQ container is running: ```bash -curl https://localhost:9443/ibmmq/console +docker ps ``` - - - Replace the ***pom.xml*** file of the inventory service. > To open the pom.xml file in your IDE, select @@ -1154,8 +1149,18 @@ When you see the following message, your Liberty instances are ready in dev mode The defaultServer server is ready to run a smarter planet. ``` + You can access the ***inventory*** microservice by the ***http\://localhost:9081/inventory/systems*** URL. + +_To see the output for this URL in the IDE, run the following command at a terminal:_ + +```bash +curl -s http://localhost:9081/inventory/systems | jq +``` + + + In the command shell where ***inventory*** dev mode is running, press ***enter/return*** to run the tests. If the tests pass, you'll see output that is similar to the following example: ```