Skip to content

Commit 29d136f

Browse files
GuidesBotGuidesBot
and
GuidesBot
authored
Updated by github actions from guide-jms-intro (#3921)
Co-authored-by: GuidesBot <[email protected]>
1 parent 0c9645c commit 29d136f

File tree

1 file changed

+23
-25
lines changed

1 file changed

+23
-25
lines changed

Diff for: instructions/cloud-hosted-guide-jms-intro/instructions.md

+23-25
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ You will then, optionally, reconfigure the application, without changing the app
3434
::page{title="Getting started"}
3535

3636
To open a new command-line session,
37-
select **Terminal** > **New Terminal** from the menu of the IDE.
37+
select ***Terminal*** > ***New Terminal*** from the menu of the IDE.
3838

39-
Run the following command to navigate to the **/home/project** directory:
39+
Run the following command to navigate to the ***/home/project*** directory:
4040

4141
```bash
4242
cd /home/project
@@ -88,7 +88,7 @@ The defaultServer server is ready to run a smarter planet.
8888

8989

9090

91-
Open another command-line session by selecting **Terminal** > **New Terminal** from the menu of the IDE.
91+
Open another command-line session by selecting ***Terminal*** > ***New Terminal*** from the menu of the IDE.
9292

9393

9494
Visit the ***http\://localhost:9081/health*** URL to confirm that the ***inventory*** microservice is up and running.
@@ -179,7 +179,7 @@ touch /home/project/guide-jms-intro/start/inventory/src/main/java/io/openliberty
179179

180180

181181
> Then, to open the InventoryQueueListener.java file in your IDE, select
182-
> **File** > **Open** > guide-jms-intro/start/inventory/src/main/java/io/openliberty/guides/inventory/InventoryQueueListener.java, or click the following button
182+
> ***File*** > ***Open*** > guide-jms-intro/start/inventory/src/main/java/io/openliberty/guides/inventory/InventoryQueueListener.java, or click the following button
183183
184184
::openFile{path="/home/project/guide-jms-intro/start/inventory/src/main/java/io/openliberty/guides/inventory/InventoryQueueListener.java"}
185185

@@ -242,7 +242,7 @@ public class InventoryQueueListener implements MessageListener {
242242
```
243243

244244

245-
Click the :fa-copy: **copy** button to copy the code and press `Ctrl+V` or `Command+V` in the IDE to add the code to the file.
245+
Click the :fa-copy: ***Copy*** button to copy the code and press `Ctrl+V` or `Command+V` in the IDE to add the code to the file.
246246

247247

248248
The ***inventory*** microservice receives the messages from the ***system*** microservice. Implement the ***InventoryQueueListener*** class with the ***MessageListener*** interface and annotate with ***@MessageDriven*** to monitor the ***jms/InventoryQueue*** message queue. Implement the ***onMessage()*** method that processes the incoming messages, updates the inventory by using the ***InventoryManager*** bean, and logs the action. Use the ***SystemLoad.fromJson()*** method to convert the JSON message string to the ***SystemLoad*** object.
@@ -252,7 +252,7 @@ Next, configure the ***inventory*** microservice with an embedded messaging serv
252252
Replace the inventory's ***server.xml*** configuration file.
253253

254254
> To open the server.xml file in your IDE, select
255-
> **File** > **Open** > guide-jms-intro/start/inventory/src/main/liberty/config/server.xml, or click the following button
255+
> ***File*** > ***Open*** > guide-jms-intro/start/inventory/src/main/liberty/config/server.xml, or click the following button
256256
257257
::openFile{path="/home/project/guide-jms-intro/start/inventory/src/main/liberty/config/server.xml"}
258258

@@ -354,7 +354,7 @@ touch /home/project/guide-jms-intro/start/system/src/main/java/io/openliberty/gu
354354

355355

356356
> Then, to open the SystemService.java file in your IDE, select
357-
> **File** > **Open** > guide-jms-intro/start/system/src/main/java/io/openliberty/guides/system/SystemService.java, or click the following button
357+
> ***File*** > ***Open*** > guide-jms-intro/start/system/src/main/java/io/openliberty/guides/system/SystemService.java, or click the following button
358358
359359
::openFile{path="/home/project/guide-jms-intro/start/system/src/main/java/io/openliberty/guides/system/SystemService.java"}
360360

@@ -425,7 +425,7 @@ Next, configure the ***system*** microservice to access the message queue.
425425
Replace the system's ***server.xml*** configuration file.
426426

427427
> To open the server.xml file in your IDE, select
428-
> **File** > **Open** > guide-jms-intro/start/system/src/main/liberty/config/server.xml, or click the following button
428+
> ***File*** > ***Open*** > guide-jms-intro/start/system/src/main/liberty/config/server.xml, or click the following button
429429
430430
::openFile{path="/home/project/guide-jms-intro/start/system/src/main/liberty/config/server.xml"}
431431

@@ -519,7 +519,7 @@ touch /home/project/guide-jms-intro/start/inventory/src/test/java/it/io/openlibe
519519

520520

521521
> Then, to open the InventoryEndpointIT.java file in your IDE, select
522-
> **File** > **Open** > guide-jms-intro/start/inventory/src/test/java/it/io/openliberty/guides/inventory/InventoryEndpointIT.java, or click the following button
522+
> ***File*** > ***Open*** > guide-jms-intro/start/inventory/src/test/java/it/io/openliberty/guides/inventory/InventoryEndpointIT.java, or click the following button
523523
524524
::openFile{path="/home/project/guide-jms-intro/start/inventory/src/test/java/it/io/openliberty/guides/inventory/InventoryEndpointIT.java"}
525525

@@ -724,7 +724,7 @@ docker ps
724724
Replace the ***pom.xml*** file of the inventory service.
725725

726726
> To open the pom.xml file in your IDE, select
727-
> **File** > **Open** > guide-jms-intro/start/inventory/pom.xml, or click the following button
727+
> ***File*** > ***Open*** > guide-jms-intro/start/inventory/pom.xml, or click the following button
728728
729729
::openFile{path="/home/project/guide-jms-intro/start/inventory/pom.xml"}
730730

@@ -784,19 +784,19 @@ Replace the ***pom.xml*** file of the inventory service.
784784
<dependency>
785785
<groupId>org.junit.jupiter</groupId>
786786
<artifactId>junit-jupiter</artifactId>
787-
<version>5.12.0</version>
787+
<version>5.12.1</version>
788788
<scope>test</scope>
789789
</dependency>
790790
<dependency>
791791
<groupId>org.jboss.resteasy</groupId>
792792
<artifactId>resteasy-client</artifactId>
793-
<version>6.2.11.Final</version>
793+
<version>6.2.12.Final</version>
794794
<scope>test</scope>
795795
</dependency>
796796
<dependency>
797797
<groupId>org.jboss.resteasy</groupId>
798798
<artifactId>resteasy-json-binding-provider</artifactId>
799-
<version>6.2.11.Final</version>
799+
<version>6.2.12.Final</version>
800800
<scope>test</scope>
801801
</dependency>
802802
</dependencies>
@@ -817,21 +817,21 @@ Replace the ***pom.xml*** file of the inventory service.
817817
<plugin>
818818
<groupId>io.openliberty.tools</groupId>
819819
<artifactId>liberty-maven-plugin</artifactId>
820-
<version>3.11.2</version>
820+
<version>3.11.3</version>
821821
</plugin>
822822

823823
<!-- Plugin to run unit tests -->
824824
<plugin>
825825
<groupId>org.apache.maven.plugins</groupId>
826826
<artifactId>maven-surefire-plugin</artifactId>
827-
<version>3.5.2</version>
827+
<version>3.5.3</version>
828828
</plugin>
829829

830830
<!-- Plugin to run integration tests -->
831831
<plugin>
832832
<groupId>org.apache.maven.plugins</groupId>
833833
<artifactId>maven-failsafe-plugin</artifactId>
834-
<version>3.5.2</version>
834+
<version>3.5.3</version>
835835
<configuration>
836836
<systemPropertyVariables>
837837
<http.port>${liberty.var.http.port}</http.port>
@@ -861,7 +861,7 @@ Add the ***liberty.var.ibmmq-**** properties for the IBM MQ container. You can c
861861
Replace the ***server.xml*** file of the inventory service.
862862

863863
> To open the server.xml file in your IDE, select
864-
> **File** > **Open** > guide-jms-intro/start/inventory/src/main/liberty/config/server.xml, or click the following button
864+
> ***File*** > ***Open*** > guide-jms-intro/start/inventory/src/main/liberty/config/server.xml, or click the following button
865865
866866
::openFile{path="/home/project/guide-jms-intro/start/inventory/src/main/liberty/config/server.xml"}
867867

@@ -929,7 +929,7 @@ Refine the ***jmsQueue*** and ***jmsActivationSpec*** configurations with the va
929929
Replace the ***pom.xml*** file of the system service.
930930

931931
> To open the pom.xml file in your IDE, select
932-
> **File** > **Open** > guide-jms-intro/start/system/pom.xml, or click the following button
932+
> ***File*** > ***Open*** > guide-jms-intro/start/system/pom.xml, or click the following button
933933
934934
::openFile{path="/home/project/guide-jms-intro/start/system/pom.xml"}
935935

@@ -1002,7 +1002,7 @@ Replace the ***pom.xml*** file of the system service.
10021002
<dependency>
10031003
<groupId>org.junit.jupiter</groupId>
10041004
<artifactId>junit-jupiter</artifactId>
1005-
<version>5.12.0</version>
1005+
<version>5.12.1</version>
10061006
<scope>test</scope>
10071007
</dependency>
10081008
</dependencies>
@@ -1023,21 +1023,21 @@ Replace the ***pom.xml*** file of the system service.
10231023
<plugin>
10241024
<groupId>io.openliberty.tools</groupId>
10251025
<artifactId>liberty-maven-plugin</artifactId>
1026-
<version>3.11.2</version>
1026+
<version>3.11.3</version>
10271027
</plugin>
10281028

10291029
<!-- Plugin to run unit tests -->
10301030
<plugin>
10311031
<groupId>org.apache.maven.plugins</groupId>
10321032
<artifactId>maven-surefire-plugin</artifactId>
1033-
<version>3.5.2</version>
1033+
<version>3.5.3</version>
10341034
</plugin>
10351035

10361036
<!-- Plugin to run integration tests -->
10371037
<plugin>
10381038
<groupId>org.apache.maven.plugins</groupId>
10391039
<artifactId>maven-failsafe-plugin</artifactId>
1040-
<version>3.5.2</version>
1040+
<version>3.5.3</version>
10411041
<executions>
10421042
<execution>
10431043
<id>integration-test</id>
@@ -1070,7 +1070,7 @@ Add the ***liberty.var.ibmmq-**** properties for the IBM MQ container as you did
10701070
Replace the ***server.xml*** file of the system service.
10711071

10721072
> To open the server.xml file in your IDE, select
1073-
> **File** > **Open** > guide-jms-intro/start/system/src/main/liberty/config/server.xml, or click the following button
1073+
> ***File*** > ***Open*** > guide-jms-intro/start/system/src/main/liberty/config/server.xml, or click the following button
10741074
10751075
::openFile{path="/home/project/guide-jms-intro/start/system/src/main/liberty/config/server.xml"}
10761076

@@ -1219,8 +1219,6 @@ We want to hear from you. To provide feedback, click the following link.
12191219

12201220
* [Give us feedback](https://openliberty.skillsnetwork.site/thanks-for-completing-our-content?guide-name=Producing%20and%20consuming%20messages%20in%20Java%20microservices&guide-id=cloud-hosted-guide-jms-intro)
12211221

1222-
Or, click the **Support/Feedback** button in the IDE and select the **Give feedback** option. Fill in the fields, choose the **General** category, and click the **Post Idea** button.
1223-
12241222
### What could make this guide better?
12251223

12261224
You can also provide feedback or contribute to this guide from GitHub.

0 commit comments

Comments
 (0)