Message message: Apply the data body and the message data header. Messages are divided into persistent and non-persistent, and persistent is the queue Manager restarting the Houston message still exists.
Queue queues are easy to store messages, local queues, remote queues, alias queues, model queues. Local queues: Queue entity remote queues and alias queues: A queue Definition Model queue: Model queues are created to create dynamic queues
Local Queue 1.Initialize queue: For message triggering, hold the queue that triggered the message2. Destination queue: Destination of message, hold message3. Dead-letter queue: Storing messages that cannot be reached4. Transmission queue: Used to deliver messages
Queue Managerthe manager of Message Queuing, used to maintain and manage message queues.
Channel: A one-way, point-to-point communication connection between two queue managers in a channel where messages can only be transmitted in one Direction
install WebSphereMQ7.1 on your local machine below, then set up two queue managers:
(1) Create two queue managers qm_client (1415), Qm_server (1414)
The function to be implemented now is to send messages from Qm_server to Qm_client. (2) Create a new remote queue qr.c on Qm_server, set the remote queue, remote Queue Manager, transfer queue
(3) Create a new transmission queue on Qm_server qt.c
(4) Create a new send channel CHNL.S.C on Qm_server, set the connection name, transmit queue
(5) Create a new local queue on Qm_client ql.c
(6) to create a new receive channel on Qm_client, the channel names on both sides of the queue Manager are consistent chnl.s.c
(7) in Qm_ Server side start send channel chnl.s.c
(8) put test messages on Qm_server Queue Manager Remote queue: QR.C and transfer to qm_cllient local queue ql.c
in Qm_ Client Queue Manager Local Queue ql.c can browse for messages
This completes the process of sending a message.
MQ Getting started knowledge and simple message sending configuration