In the point-to-point messaging model, client send messages to and receive messages from a queue.To create a new queue in the administration tool, use the create queue command to create a new queue named myQueue:For more information on the create queue command, refer to create queue on page 118. For more information on the commit command, see commit on page 115 and autocommit on page 115.
1.
2. In each command line window, enter setup to set the environment and classpath:
3. In the first command line window, execute the tibjmsMsgProducer application to direct user1 to place some messages to the myQueue queue:
4. In the second command line window, execute the tibjmsMsgConsumer client to direct user2 to read the messages from the message queue:
Messages placed on a queue by the sender are persistent until read by the receiver, so you can start the sender and receiver clients in any order.
Copyright © TIBCO Software Inc. All Rights Reserved.