mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-08 19:15:08 +00:00
This commit contains these changes: * Change example documentation to use markdown * Generate HTML doc based on markdown during release * Fix XML formatting in some examples * Repair out-of-date documentation
33 lines
664 B
Markdown
33 lines
664 B
Markdown
# Openwire Chat Example
|
|
|
|
This example will require multiple windows to be executed
|
|
|
|
Window 1:
|
|
|
|
mvn -Pserver verify
|
|
|
|
Window 2:
|
|
|
|
mvn -Pchat1 verify
|
|
|
|
Window 3:
|
|
|
|
mvn -Pchat2 verify
|
|
|
|
Window 4:
|
|
|
|
mvn -Pchat3 verify
|
|
|
|
You should be able to interact with the chat application:
|
|
|
|
## Chat application:
|
|
The application user Chatter2 connects to the broker at `tcp://localhost:61616`.
|
|
|
|
The application will publish messages to the `chat` address.
|
|
|
|
The application also subscribes to that topic to consume any messages published there.
|
|
|
|
Type some text, and then press Enter to publish it as a TextMesssage from Chatter2.
|
|
|
|
Hello guys
|
|
Chatter2: Hello guys |