You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> 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
@@ -242,7 +242,7 @@ public class InventoryQueueListener implements MessageListener {
242
242
```
243
243
244
244
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.
246
246
247
247
248
248
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
252
252
Replace the inventory's ***server.xml*** configuration file.
253
253
254
254
> 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
> 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
@@ -1219,8 +1219,6 @@ We want to hear from you. To provide feedback, click the following link.
1219
1219
1220
1220
*[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)
1221
1221
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
-
1224
1222
### What could make this guide better?
1225
1223
1226
1224
You can also provide feedback or contribute to this guide from GitHub.
0 commit comments