MQ Getting started knowledge and simple message sending configuration

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.