Starting the Sender and Receiver Clients
Procedure
- Open two command line windows and in each window navigate to the EMS_HOME/samples/java folder.
-
In each command line window, enter setup to set the environment and classpath:
> setup
-
In the first command line window, execute the
tibjmsMsgProducer application to direct user1 to place some messages to the
myQueue queue:
> java tibjmsMsgProducer -queue myQueue -user user1 Hello User2
- In the second command line window, execute the tibjmsMsgConsumer client to direct user2 to read the messages from the message queue:
Copyright © Cloud Software Group, Inc. All rights reserved.